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:
Thomas Eizinger
2023-04-05 21:44:32 +02:00
committed by GitHub
parent bdc618e9c7
commit 451c64a8b8
14 changed files with 14 additions and 14 deletions

View File

@ -11,7 +11,7 @@ categories = ["network-programming", "asynchronous"]
[dependencies]
libp2p-core = { version = "0.39.0", path = "../../core" }
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
libp2p-identity = { version = "0.1.0", path = "../../identity", features = ["peerid"] }
void = "1"