From f2905c07f1246c3c3fdc1cde95f7e9c5c1c9b01a Mon Sep 17 00:00:00 2001 From: Ruben De Smet Date: Wed, 18 Aug 2021 12:08:45 +0200 Subject: [PATCH] *: Make libp2p-core default features optional (#2181) Co-authored-by: Max Inden --- misc/multistream-select/Cargo.toml | 2 +- misc/peer-id-generator/Cargo.toml | 2 +- muxers/mplex/CHANGELOG.md | 2 ++ muxers/mplex/Cargo.toml | 2 +- muxers/yamux/CHANGELOG.md | 3 +++ muxers/yamux/Cargo.toml | 2 +- protocols/floodsub/CHANGELOG.md | 3 +++ protocols/floodsub/Cargo.toml | 2 +- protocols/gossipsub/CHANGELOG.md | 3 +++ protocols/gossipsub/Cargo.toml | 2 +- protocols/identify/CHANGELOG.md | 3 +++ protocols/identify/Cargo.toml | 2 +- protocols/kad/CHANGELOG.md | 3 +++ protocols/kad/Cargo.toml | 2 +- protocols/mdns/CHANGELOG.md | 3 +++ protocols/mdns/Cargo.toml | 2 +- protocols/ping/CHANGELOG.md | 3 +++ protocols/ping/Cargo.toml | 2 +- protocols/relay/CHANGELOG.md | 3 +++ protocols/relay/Cargo.toml | 2 +- protocols/request-response/CHANGELOG.md | 3 +++ protocols/request-response/Cargo.toml | 2 +- swarm/CHANGELOG.md | 3 +++ swarm/Cargo.toml | 2 +- transports/deflate/CHANGELOG.md | 3 +++ transports/deflate/Cargo.toml | 2 +- transports/dns/CHANGELOG.md | 3 +++ transports/dns/Cargo.toml | 2 +- transports/noise/CHANGELOG.md | 3 +++ transports/noise/Cargo.toml | 2 +- transports/plaintext/CHANGELOG.md | 3 +++ transports/plaintext/Cargo.toml | 2 +- transports/tcp/CHANGELOG.md | 3 +++ transports/tcp/Cargo.toml | 2 +- transports/uds/CHANGELOG.md | 3 +++ transports/uds/Cargo.toml | 2 +- transports/wasm-ext/CHANGELOG.md | 3 +++ transports/wasm-ext/Cargo.toml | 2 +- transports/websocket/CHANGELOG.md | 3 +++ transports/websocket/Cargo.toml | 2 +- 40 files changed, 77 insertions(+), 21 deletions(-) diff --git a/misc/multistream-select/Cargo.toml b/misc/multistream-select/Cargo.toml index f839e3be123..2f6a72db9ef 100644 --- a/misc/multistream-select/Cargo.toml +++ b/misc/multistream-select/Cargo.toml @@ -20,7 +20,7 @@ unsigned-varint = "0.7" [dev-dependencies] async-std = "1.6.2" env_logger = "0.9" -libp2p-core = { path = "../../core" } +libp2p-core = { path = "../../core", default-features = false } libp2p-mplex = { path = "../../muxers/mplex" } libp2p-plaintext = { path = "../../transports/plaintext" } quickcheck = "0.9.0" diff --git a/misc/peer-id-generator/Cargo.toml b/misc/peer-id-generator/Cargo.toml index 1c23bf1f472..da1cad6ba91 100644 --- a/misc/peer-id-generator/Cargo.toml +++ b/misc/peer-id-generator/Cargo.toml @@ -11,5 +11,5 @@ categories = ["network-programming", "asynchronous"] publish = false [dependencies] -libp2p-core = { path = "../../core" } +libp2p-core = { path = "../../core", default-features = false } num_cpus = "1.8" diff --git a/muxers/mplex/CHANGELOG.md b/muxers/mplex/CHANGELOG.md index b0b697ae492..6cc5d5c6b0b 100644 --- a/muxers/mplex/CHANGELOG.md +++ b/muxers/mplex/CHANGELOG.md @@ -1,5 +1,7 @@ # 0.30.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) - Update dependencies. # 0.29.0 [2021-07-12] diff --git a/muxers/mplex/Cargo.toml b/muxers/mplex/Cargo.toml index df0033dea53..285fe386517 100644 --- a/muxers/mplex/Cargo.toml +++ b/muxers/mplex/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] bytes = "1" futures = "0.3.1" asynchronous-codec = "0.6" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } log = "0.4" nohash-hasher = "0.2" parking_lot = "0.11" diff --git a/muxers/yamux/CHANGELOG.md b/muxers/yamux/CHANGELOG.md index 697f3636f9f..7ca9c0bbbb6 100644 --- a/muxers/yamux/CHANGELOG.md +++ b/muxers/yamux/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.34.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. - Implement `From for YamuxError` instead of `Into`. diff --git a/muxers/yamux/Cargo.toml b/muxers/yamux/Cargo.toml index 28a47cb58cf..c9984b6514a 100644 --- a/muxers/yamux/Cargo.toml +++ b/muxers/yamux/Cargo.toml @@ -11,7 +11,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures = "0.3.1" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } parking_lot = "0.11" thiserror = "1.0" yamux = "0.9.0" diff --git a/protocols/floodsub/CHANGELOG.md b/protocols/floodsub/CHANGELOG.md index 6abdd6f810d..c0f65131c1a 100644 --- a/protocols/floodsub/CHANGELOG.md +++ b/protocols/floodsub/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.31.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. # 0.30.0 [2021-07-12] diff --git a/protocols/floodsub/Cargo.toml b/protocols/floodsub/Cargo.toml index b4b5b51f954..0b8bf67b0b2 100644 --- a/protocols/floodsub/Cargo.toml +++ b/protocols/floodsub/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] cuckoofilter = "0.5.0" fnv = "1.0" futures = "0.3.1" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } libp2p-swarm = { version = "0.31.0", path = "../../swarm" } log = "0.4" prost = "0.8" diff --git a/protocols/gossipsub/CHANGELOG.md b/protocols/gossipsub/CHANGELOG.md index 69e0f4f3694..da528c79b42 100644 --- a/protocols/gossipsub/CHANGELOG.md +++ b/protocols/gossipsub/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.33.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Improve internal peer tracking. [PR 2175](https://github.com/libp2p/rust-libp2p/pull/2175) diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index 1b99bfbf2e7..115051a5ef4 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -11,7 +11,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] libp2p-swarm = { version = "0.31.0", path = "../../swarm" } -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } bytes = "1.0" byteorder = "1.3.4" fnv = "1.0.7" diff --git a/protocols/identify/CHANGELOG.md b/protocols/identify/CHANGELOG.md index 2b5a255d73e..b05cafa75e8 100644 --- a/protocols/identify/CHANGELOG.md +++ b/protocols/identify/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.31.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. # 0.30.0 [2021-07-12] diff --git a/protocols/identify/Cargo.toml b/protocols/identify/Cargo.toml index 8213edc8dc6..6f6c37d12e2 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -11,7 +11,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures = "0.3.1" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } libp2p-swarm = { version = "0.31.0", path = "../../swarm" } log = "0.4.1" prost = "0.8" diff --git a/protocols/kad/CHANGELOG.md b/protocols/kad/CHANGELOG.md index 7a38eb649d8..e344f9c2546 100644 --- a/protocols/kad/CHANGELOG.md +++ b/protocols/kad/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.32.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. - Introduce `KademliaStoreInserts` option, which allows to filter records (see diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index 2dd5e7287c0..20fe6fe2c75 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -17,7 +17,7 @@ fnv = "1.0" asynchronous-codec = "0.6" futures = "0.3.1" log = "0.4" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } libp2p-swarm = { version = "0.31.0", path = "../../swarm" } prost = "0.8" rand = "0.7.2" diff --git a/protocols/mdns/CHANGELOG.md b/protocols/mdns/CHANGELOG.md index 899222c62ab..d91e42d5516 100644 --- a/protocols/mdns/CHANGELOG.md +++ b/protocols/mdns/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.32.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. - Add support for IPv6. To enable set the multicast address diff --git a/protocols/mdns/Cargo.toml b/protocols/mdns/Cargo.toml index 64cf9263f8a..43370a9bffd 100644 --- a/protocols/mdns/Cargo.toml +++ b/protocols/mdns/Cargo.toml @@ -16,7 +16,7 @@ dns-parser = "0.8.0" futures = "0.3.13" if-watch = "0.2.0" lazy_static = "1.4.0" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } libp2p-swarm = { version = "0.31.0", path = "../../swarm" } log = "0.4.14" rand = "0.8.3" diff --git a/protocols/ping/CHANGELOG.md b/protocols/ping/CHANGELOG.md index 9d7e86a7f98..9959542845a 100644 --- a/protocols/ping/CHANGELOG.md +++ b/protocols/ping/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.31.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. - Don't close connection if ping protocol is unsupported by remote. diff --git a/protocols/ping/Cargo.toml b/protocols/ping/Cargo.toml index 7d3c093ee98..24924c48217 100644 --- a/protocols/ping/Cargo.toml +++ b/protocols/ping/Cargo.toml @@ -11,7 +11,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures = "0.3.1" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } libp2p-swarm = { version = "0.31.0", path = "../../swarm" } log = "0.4.1" rand = "0.7.2" diff --git a/protocols/relay/CHANGELOG.md b/protocols/relay/CHANGELOG.md index 3e7deca20e4..9f2857bfcc1 100644 --- a/protocols/relay/CHANGELOG.md +++ b/protocols/relay/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.4.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. - Implement `Debug` for `RelayHandlerEvent` and `RelayHandlerIn`. See [PR 2183]. diff --git a/protocols/relay/Cargo.toml b/protocols/relay/Cargo.toml index 159dd7c016a..aedfe262f0b 100644 --- a/protocols/relay/Cargo.toml +++ b/protocols/relay/Cargo.toml @@ -14,7 +14,7 @@ asynchronous-codec = "0.6" bytes = "1" futures = "0.3.1" futures-timer = "3" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } libp2p-swarm = { version = "0.31.0", path = "../../swarm" } log = "0.4" pin-project = "1" diff --git a/protocols/request-response/CHANGELOG.md b/protocols/request-response/CHANGELOG.md index 973fbe3f1ed..08be7686cbf 100644 --- a/protocols/request-response/CHANGELOG.md +++ b/protocols/request-response/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.13.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. - Manually implement `Debug` for `RequestResponseHandlerEvent` and diff --git a/protocols/request-response/Cargo.toml b/protocols/request-response/Cargo.toml index 40bc39000f3..517e11845e5 100644 --- a/protocols/request-response/Cargo.toml +++ b/protocols/request-response/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] async-trait = "0.1" bytes = "1" futures = "0.3.1" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } libp2p-swarm = { version = "0.31.0", path = "../../swarm" } log = "0.4.11" lru = "0.6" diff --git a/swarm/CHANGELOG.md b/swarm/CHANGELOG.md index 2afa04c91b7..4eacf3dfe45 100644 --- a/swarm/CHANGELOG.md +++ b/swarm/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.31.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. - Provide default implementations for all functions of `NetworkBehaviour`, diff --git a/swarm/Cargo.toml b/swarm/Cargo.toml index b7ea6525447..33b482f2a0f 100644 --- a/swarm/Cargo.toml +++ b/swarm/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] either = "1.6.0" futures = "0.3.1" -libp2p-core = { version = "0.30.0", path = "../core" } +libp2p-core = { version = "0.30.0", path = "../core", default-features = false } log = "0.4" rand = "0.7" smallvec = "1.6.1" diff --git a/transports/deflate/CHANGELOG.md b/transports/deflate/CHANGELOG.md index 4a43c23b83b..72bdaba8828 100644 --- a/transports/deflate/CHANGELOG.md +++ b/transports/deflate/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.30.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. # 0.29.0 [2021-07-12] diff --git a/transports/deflate/Cargo.toml b/transports/deflate/Cargo.toml index 6ab23c1cef5..3ce579f0dea 100644 --- a/transports/deflate/Cargo.toml +++ b/transports/deflate/Cargo.toml @@ -11,7 +11,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures = "0.3.1" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } flate2 = "1.0" [dev-dependencies] diff --git a/transports/dns/CHANGELOG.md b/transports/dns/CHANGELOG.md index 96b4f41babe..41c0cc06b5e 100644 --- a/transports/dns/CHANGELOG.md +++ b/transports/dns/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.30.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. # 0.29.0 [2021-07-12] diff --git a/transports/dns/Cargo.toml b/transports/dns/Cargo.toml index df388345486..51c9a8fadd1 100644 --- a/transports/dns/Cargo.toml +++ b/transports/dns/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } log = "0.4.1" futures = "0.3.1" trust-dns-resolver = { version = "0.20", default-features = false, features = ["system-config"] } diff --git a/transports/noise/CHANGELOG.md b/transports/noise/CHANGELOG.md index 1df94010538..67830fb01fc 100644 --- a/transports/noise/CHANGELOG.md +++ b/transports/noise/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.33.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. # 0.32.0 [2021-07-12] diff --git a/transports/noise/Cargo.toml b/transports/noise/Cargo.toml index cf3880ec84f..201d7293aa4 100644 --- a/transports/noise/Cargo.toml +++ b/transports/noise/Cargo.toml @@ -12,7 +12,7 @@ bytes = "1" curve25519-dalek = "3.0.0" futures = "0.3.1" lazy_static = "1.2" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } log = "0.4" prost = "0.8" rand = "0.8.3" diff --git a/transports/plaintext/CHANGELOG.md b/transports/plaintext/CHANGELOG.md index 88f9e8d4766..dfbf8d07bf9 100644 --- a/transports/plaintext/CHANGELOG.md +++ b/transports/plaintext/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.30.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. # 0.29.0 [2021-07-12] diff --git a/transports/plaintext/Cargo.toml b/transports/plaintext/Cargo.toml index f9b206fb663..e0f7d6778da 100644 --- a/transports/plaintext/Cargo.toml +++ b/transports/plaintext/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] bytes = "1" futures = "0.3.1" asynchronous-codec = "0.6" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } log = "0.4.8" prost = "0.8" unsigned-varint = { version = "0.7", features = ["asynchronous_codec"] } diff --git a/transports/tcp/CHANGELOG.md b/transports/tcp/CHANGELOG.md index 6972aa2a513..325672e194f 100644 --- a/transports/tcp/CHANGELOG.md +++ b/transports/tcp/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.30.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. # 0.29.0 [2021-07-12] diff --git a/transports/tcp/Cargo.toml b/transports/tcp/Cargo.toml index a4572cbcf70..7e56026a628 100644 --- a/transports/tcp/Cargo.toml +++ b/transports/tcp/Cargo.toml @@ -17,7 +17,7 @@ if-watch = { version = "0.2.0", optional = true } if-addrs = { version = "0.6.4", optional = true } ipnet = "2.0.0" libc = "0.2.80" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } log = "0.4.11" socket2 = { version = "0.4.0", features = ["all"] } tokio-crate = { package = "tokio", version = "1.0.1", default-features = false, features = ["net"], optional = true } diff --git a/transports/uds/CHANGELOG.md b/transports/uds/CHANGELOG.md index ce66f13cd8f..fe900a22918 100644 --- a/transports/uds/CHANGELOG.md +++ b/transports/uds/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.30.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. # 0.29.0 [2021-07-12] diff --git a/transports/uds/Cargo.toml b/transports/uds/Cargo.toml index 1a079ab8ac8..84aca6450a1 100644 --- a/transports/uds/Cargo.toml +++ b/transports/uds/Cargo.toml @@ -11,7 +11,7 @@ categories = ["network-programming", "asynchronous"] [target.'cfg(all(unix, not(target_os = "emscripten")))'.dependencies] async-std = { version = "1.6.2", optional = true } -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } log = "0.4.1" futures = "0.3.1" tokio = { version = "1.0.1", default-features = false, features = ["net"], optional = true } diff --git a/transports/wasm-ext/CHANGELOG.md b/transports/wasm-ext/CHANGELOG.md index a5047f28c94..278aaa01791 100644 --- a/transports/wasm-ext/CHANGELOG.md +++ b/transports/wasm-ext/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.30.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. # 0.29.0 [2021-07-12] diff --git a/transports/wasm-ext/Cargo.toml b/transports/wasm-ext/Cargo.toml index bc34c37472f..d5d0139ba03 100644 --- a/transports/wasm-ext/Cargo.toml +++ b/transports/wasm-ext/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "asynchronous"] [dependencies] futures = "0.3.1" js-sys = "0.3.50" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } parity-send-wrapper = "0.1.0" wasm-bindgen = "0.2.42" wasm-bindgen-futures = "0.4.4" diff --git a/transports/websocket/CHANGELOG.md b/transports/websocket/CHANGELOG.md index eddc2a8f2ac..c3cfd407eda 100644 --- a/transports/websocket/CHANGELOG.md +++ b/transports/websocket/CHANGELOG.md @@ -1,5 +1,8 @@ # 0.31.0 [unreleased] +- Make default features of `libp2p-core` optional. + [PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181) + - Update dependencies. # 0.30.0 [2021-07-12] diff --git a/transports/websocket/Cargo.toml b/transports/websocket/Cargo.toml index 5fce54bc80a..a7feeac7c86 100644 --- a/transports/websocket/Cargo.toml +++ b/transports/websocket/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] futures-rustls = "0.21" either = "1.5.3" futures = "0.3.1" -libp2p-core = { version = "0.30.0", path = "../../core" } +libp2p-core = { version = "0.30.0", path = "../../core", default-features = false } log = "0.4.8" quicksink = "0.1" rw-stream-sink = "0.2.0"