feat(swarm-test): allow publishing to crates.io

Allows folks like @bajtos to use the crate, see https://github.com/filecoin-station/zinnia/pull/85.

I opted for not exposing the crate through the `libp2p` meta crate as it is a testing tool only. @thomas
let me know if you prefer me to do so.

Pull-Request: #3629.
This commit is contained in:
Max Inden
2023-03-20 18:49:35 +01:00
committed by GitHub
parent 06d644b63d
commit 9f63a0a69e
4 changed files with 9 additions and 4 deletions

View File

@ -23,7 +23,6 @@ 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-test = { path = "../../swarm-test"}
libp2p-tcp = { version = "0.39.0", path = "../../transports/tcp", features = ["async-io"] }
libp2p-yamux = { version = "0.43.0", path = "../../muxers/yamux" }
log = "0.4"
@ -32,7 +31,7 @@ void = "1"
[dev-dependencies]
rand = "0.8"
libp2p-plaintext = { path = "../../transports/plaintext" }
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