mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-16 21:01:19 +00:00
fix(misc/server): import libp2p as workspace dependency
One needs to specify a version of `libp2p` dependeny in `misc/server/Cargo.toml` or import as a workspace dependency, in order to publish to crates.io. This commit does the latter for the sake of consistency with the other libp2p-* dependencies. Pull-Request: #4391.
This commit is contained in:
parent
f265f39e70
commit
9946890b53
@ -64,6 +64,7 @@ resolver = "2"
|
||||
rust-version = "1.65.0"
|
||||
|
||||
[workspace.dependencies]
|
||||
libp2p = { version = "0.52.3", path = "libp2p" }
|
||||
libp2p-allow-block-list = { version = "0.2.0", path = "misc/allow-block-list" }
|
||||
libp2p-autonat = { version = "0.11.0", path = "protocols/autonat" }
|
||||
libp2p-connection-limits = { version = "0.2.1", path = "misc/connection-limits" }
|
||||
|
@ -17,7 +17,7 @@ env_logger = "0.10.0"
|
||||
futures = "0.3"
|
||||
futures-timer = "3"
|
||||
hyper = { version = "0.14", features = ["server", "tcp", "http1"] }
|
||||
libp2p = { path = "../../libp2p", features = ["autonat", "dns", "tokio", "noise", "tcp", "yamux", "identify", "kad", "ping", "relay", "metrics", "rsa", "macros", "quic"] }
|
||||
libp2p = { workspace = true, features = ["autonat", "dns", "tokio", "noise", "tcp", "yamux", "identify", "kad", "ping", "relay", "metrics", "rsa", "macros", "quic"] }
|
||||
log = "0.4"
|
||||
prometheus-client = "0.21.2"
|
||||
serde = "1.0.183"
|
||||
|
Loading…
x
Reference in New Issue
Block a user