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"

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"

View File

@ -16,7 +16,7 @@ futures = "0.3"
futures-timer = "3.0"
instant = "0.1"
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-request-response = { version = "0.24.0", path = "../request-response" }
libp2p-identity = { version = "0.1.0", path = "../../identity" }
log = "0.4"

View File

@ -17,7 +17,7 @@ futures = "0.3.28"
futures-timer = "3.0"
instant = "0.1.11"
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" }
log = "0.4"
quick-protobuf = "0.8"

View File

@ -16,7 +16,7 @@ cuckoofilter = "0.5.0"
fnv = "1.0"
futures = "0.3.28"
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" }
log = "0.4"
quick-protobuf = "0.8"

View File

@ -11,7 +11,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"]
categories = ["network-programming", "asynchronous"]
[dependencies]
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
libp2p-core = { version = "0.39.0", path = "../../core" }
libp2p-identity = { version = "0.1.0", path = "../../identity" }
bytes = "1.4"

View File

@ -15,7 +15,7 @@ asynchronous-codec = "0.6"
futures = "0.3.28"
futures-timer = "3.0.2"
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" }
log = "0.4.1"
lru = "0.9.0"

View File

@ -19,7 +19,7 @@ asynchronous-codec = "0.6"
futures = "0.3.28"
log = "0.4"
libp2p-core = { version = "0.39.0", path = "../../core" }
libp2p-swarm = { version = "0.42.0", path = "../../swarm" }
libp2p-swarm = { version = "0.42.1", path = "../../swarm" }
quick-protobuf = "0.8"
libp2p-identity = { version = "0.1.0", path = "../../identity" }
rand = "0.8"

View File

@ -16,7 +16,7 @@ data-encoding = "2.3.2"
futures = "0.3.28"
if-watch = "3.0.0"
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" }
log = "0.4.14"
rand = "0.8.3"

View File

@ -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"

View File

@ -16,7 +16,7 @@ futures = "0.3.28"
futures-timer = "3.0.2"
instant = "0.1.11"
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" }
log = "0.4.1"
rand = "0.8"

View File

@ -18,7 +18,7 @@ futures = "0.3.28"
futures-timer = "3"
instant = "0.1.11"
libp2p-core = { version = "0.39.0", path = "../../core" }
libp2p-swarm = { version = "0.42.0", path = "../../swarm", features = ["async-std"] }
libp2p-swarm = { version = "0.42.1", path = "../../swarm", features = ["async-std"] }
libp2p-identity = { version = "0.1.0", path = "../../identity" }
log = "0.4"
quick-protobuf = "0.8"

View File

@ -17,7 +17,7 @@ futures = { version = "0.3", default-features = false, features = ["std"] }
futures-timer = "3.0.2"
instant = "0.1.11"
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" }
log = "0.4"
quick-protobuf = "0.8"

View File

@ -15,7 +15,7 @@ async-trait = "0.1"
futures = "0.3.28"
instant = "0.1.11"
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" }
rand = "0.8"
smallvec = "1.6.1"