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

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