mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 01:51:23 +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:
@ -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"]}
|
||||
|
||||
|
Reference in New Issue
Block a user