mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 01:51:23 +00:00
fix: specify correct libp2p-swarm
dependency
With https://github.com/libp2p/rust-libp2p/pull/3658, these crates depend on the `0.42.1` release to access the new `ToSwarm` type. With the currently specified version, a user could theoretically run into a compile error if they pin `libp2p-swarm` to `0.42.0` in their lockfile but update to the latest patch release of one of these crates. Pull-Request: #3711.
This commit is contained in:
@ -22,7 +22,7 @@ libp2p-dns = { version = "0.39.0", path = "../../transports/dns", features = ["a
|
||||
libp2p-identity = { version = "0.1.0", path = "../../identity" }
|
||||
libp2p-noise = { version = "0.42.0", path = "../../transports/noise" }
|
||||
libp2p-quic = { version = "0.7.0-alpha.2", path = "../../transports/quic", features = ["async-std"] }
|
||||
libp2p-swarm = { version = "0.42.0", path = "../../swarm", features = ["macros", "async-std"] }
|
||||
libp2p-swarm = { version = "0.42.1", path = "../../swarm", features = ["macros", "async-std"] }
|
||||
libp2p-tcp = { version = "0.39.0", path = "../../transports/tcp", features = ["async-io"] }
|
||||
libp2p-yamux = { version = "0.43.0", path = "../../muxers/yamux" }
|
||||
log = "0.4"
|
||||
|
Reference in New Issue
Block a user