Skip to content

Commit 9f63a0a

Browse files
authored
feat(swarm-test): allow publishing to crates.io
Allows folks like @bajtos to use the crate, see CheckerNetwork/zinnia#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.
1 parent 06d644b commit 9f63a0a

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protocols/perf/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ libp2p-identity = { version = "0.1.0", path = "../../identity" }
2323
libp2p-noise = { version = "0.42.0", path = "../../transports/noise" }
2424
libp2p-quic = { version = "0.7.0-alpha.2", path = "../../transports/quic", features = ["async-std"] }
2525
libp2p-swarm = { version = "0.42.0", path = "../../swarm", features = ["macros", "async-std"] }
26-
libp2p-swarm-test = { path = "../../swarm-test"}
2726
libp2p-tcp = { version = "0.39.0", path = "../../transports/tcp", features = ["async-io"] }
2827
libp2p-yamux = { version = "0.43.0", path = "../../muxers/yamux" }
2928
log = "0.4"
@@ -32,7 +31,7 @@ void = "1"
3231

3332
[dev-dependencies]
3433
rand = "0.8"
35-
libp2p-plaintext = { path = "../../transports/plaintext" }
34+
libp2p-swarm-test = { path = "../../swarm-test"}
3635

3736
# Passing arguments to the docsrs builder in order to properly document cfg's.
3837
# More information: https://docs.rs/about/builds#cross-compiling

swarm-test/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# 0.1.0 - unreleased
2+
3+
- Initial release.

swarm-test/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
name = "libp2p-swarm-test"
33
version = "0.1.0"
44
edition = "2021"
5+
rust-version = "1.65.0"
56
license = "MIT"
6-
publish = false
7+
description = "Test framework for code building on top of libp2p-swarm"
8+
repository = "https://github.com/libp2p/rust-libp2p"
9+
keywords = ["peer-to-peer", "libp2p", "networking"]
10+
categories = ["network-programming", "asynchronous"]
711

812
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
913

0 commit comments

Comments
 (0)