mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-28 02:01:20 +00:00
chore: don't use workspace inheritance for dev-dependencies
Using workspace inheritance breaks `cargo release` because it cannot resolve that the dev-dependencies should only use a `path` and not a version. Pull-Request: #4097. Co-Authored-By: Thomas Eizinger <thomas@eizinger.io>
This commit is contained in:
parent
31da9b25c9
commit
78c150d0df
@ -17,5 +17,5 @@ void = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
async-std = { version = "1.12.0", features = ["attributes"] }
|
||||
libp2p-swarm-derive = { workspace = true }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
libp2p-swarm-derive = { path = "../../swarm-derive" }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
|
@ -19,7 +19,7 @@ void = "1"
|
||||
async-std = { version = "1.12.0", features = ["attributes"] }
|
||||
libp2p-identify = { workspace = true }
|
||||
libp2p-ping = { workspace = true }
|
||||
libp2p-swarm-derive = { workspace = true }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
libp2p-swarm-derive = { path = "../../swarm-derive" }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
quickcheck = { workspace = true }
|
||||
rand = "0.8.5"
|
||||
|
@ -28,7 +28,7 @@ async-std = { version = "1.7.0", features = ["attributes"] }
|
||||
criterion = "0.5"
|
||||
env_logger = "0.10"
|
||||
futures = "0.3"
|
||||
libp2p-muxer-test-harness = { workspace = true }
|
||||
libp2p-muxer-test-harness = { path = "../test-harness" }
|
||||
libp2p-plaintext = { workspace = true }
|
||||
libp2p-tcp = { workspace = true, features = ["async-io"] }
|
||||
quickcheck = { workspace = true }
|
||||
|
@ -19,7 +19,7 @@ log = "0.4"
|
||||
|
||||
[dev-dependencies]
|
||||
async-std = { version = "1.7.0", features = ["attributes"] }
|
||||
libp2p-muxer-test-harness = { workspace = true }
|
||||
libp2p-muxer-test-harness = { path = "../test-harness" }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
@ -26,7 +26,7 @@ quick-protobuf = "0.8"
|
||||
[dev-dependencies]
|
||||
async-std = { version = "1.10", features = ["attributes"] }
|
||||
env_logger = "0.10"
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
@ -36,7 +36,7 @@ libp2p-ping = { workspace = true }
|
||||
libp2p-plaintext = { workspace = true }
|
||||
libp2p-relay = { workspace = true }
|
||||
libp2p-swarm = { workspace = true, features = ["macros"] }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
libp2p-tcp = { workspace = true, features = ["async-io"] }
|
||||
libp2p-yamux = { workspace = true }
|
||||
rand = "0.8"
|
||||
|
@ -49,7 +49,7 @@ hex = "0.4.2"
|
||||
libp2p-core = { workspace = true }
|
||||
libp2p-yamux = { workspace = true }
|
||||
libp2p-noise = { workspace = true }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
quickcheck = { workspace = true }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
|
@ -38,7 +38,7 @@ libp2p-swarm = { workspace = true, features = ["tokio", "async-std"] }
|
||||
libp2p-tcp = { workspace = true, features = ["tokio", "async-io"] }
|
||||
libp2p-yamux = { workspace = true }
|
||||
tokio = { version = "1.28", default-features = false, features = ["macros", "rt", "rt-multi-thread", "time"] }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
|
||||
[[test]]
|
||||
name = "use-async-std"
|
||||
|
@ -35,7 +35,7 @@ void = "1"
|
||||
|
||||
[dev-dependencies]
|
||||
rand = "0.8"
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
@ -26,7 +26,7 @@ void = "1.0"
|
||||
async-std = "1.6.2"
|
||||
env_logger = "0.10.0"
|
||||
libp2p-swarm = { workspace = true, features = ["macros"] }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
quickcheck = { workspace = true }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
|
@ -38,7 +38,7 @@ libp2p-yamux = { workspace = true }
|
||||
libp2p-tcp = { workspace = true, features = ["tokio"] }
|
||||
rand = "0.8"
|
||||
tokio = { version = "1.28", features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net" ] }
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
|
||||
# Passing arguments to the docsrs builder in order to properly document cfg's.
|
||||
# More information: https://docs.rs/about/builds#cross-compiling
|
||||
|
@ -36,7 +36,7 @@ libp2p-noise = { workspace = true }
|
||||
libp2p-tcp = { workspace = true, features = ["async-io"] }
|
||||
libp2p-yamux = { workspace = true }
|
||||
rand = "0.8"
|
||||
libp2p-swarm-test = { workspace = true }
|
||||
libp2p-swarm-test = { path = "../../swarm-test" }
|
||||
futures_ringbuf = "0.4.0"
|
||||
serde = { version = "1.0", features = ["derive"]}
|
||||
|
||||
|
@ -48,7 +48,7 @@ libp2p-identity = { workspace = true, features = ["ed25519"] }
|
||||
libp2p-kad = { path = "../protocols/kad" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing.
|
||||
libp2p-ping = { path = "../protocols/ping" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing.
|
||||
libp2p-plaintext = { path = "../transports/plaintext" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing.
|
||||
libp2p-swarm-derive = { workspace = true }
|
||||
libp2p-swarm-derive = { path = "../swarm-derive" }
|
||||
libp2p-swarm-test = { path = "../swarm-test" } # Using `path` here because this is a cyclic dev-dependency which otherwise breaks releasing.
|
||||
libp2p-yamux = { workspace = true }
|
||||
quickcheck = { workspace = true }
|
||||
|
@ -39,7 +39,7 @@ rustc-args = ["--cfg", "docsrs"]
|
||||
[dev-dependencies]
|
||||
async-std = { version = "1.12.0", features = ["attributes"] }
|
||||
env_logger = "0.10.0"
|
||||
libp2p-muxer-test-harness = { workspace = true }
|
||||
libp2p-muxer-test-harness = { path = "../../muxers/test-harness" }
|
||||
libp2p-noise = { workspace = true }
|
||||
libp2p-tcp = { workspace = true, features = ["async-io"] }
|
||||
libp2p-yamux = { workspace = true }
|
||||
|
Loading…
x
Reference in New Issue
Block a user