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:
Thomas Eizinger
2023-06-20 14:24:28 +02:00
committed by GitHub
parent 31da9b25c9
commit 78c150d0df
14 changed files with 16 additions and 16 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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