mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-13 18:11:22 +00:00
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:
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -2572,7 +2572,6 @@ dependencies = [
|
||||
"libp2p-dns",
|
||||
"libp2p-identity",
|
||||
"libp2p-noise",
|
||||
"libp2p-plaintext",
|
||||
"libp2p-quic",
|
||||
"libp2p-swarm",
|
||||
"libp2p-swarm-test",
|
||||
|
@ -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
|
||||
|
3
swarm-test/CHANGELOG.md
Normal file
3
swarm-test/CHANGELOG.md
Normal file
@ -0,0 +1,3 @@
|
||||
# 0.1.0 - unreleased
|
||||
|
||||
- Initial release.
|
@ -2,8 +2,12 @@
|
||||
name = "libp2p-swarm-test"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
rust-version = "1.65.0"
|
||||
license = "MIT"
|
||||
publish = false
|
||||
description = "Test framework for code building on top of libp2p-swarm"
|
||||
repository = "https://github.com/libp2p/rust-libp2p"
|
||||
keywords = ["peer-to-peer", "libp2p", "networking"]
|
||||
categories = ["network-programming", "asynchronous"]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
Reference in New Issue
Block a user