Skip to content

Commit f2905c0

Browse files
rubdosmxinden
andauthored
*: Make libp2p-core default features optional (#2181)
Co-authored-by: Max Inden <[email protected]>
1 parent 49acf2e commit f2905c0

File tree

40 files changed

+77
-21
lines changed

40 files changed

+77
-21
lines changed

misc/multistream-select/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ unsigned-varint = "0.7"
2020
[dev-dependencies]
2121
async-std = "1.6.2"
2222
env_logger = "0.9"
23-
libp2p-core = { path = "../../core" }
23+
libp2p-core = { path = "../../core", default-features = false }
2424
libp2p-mplex = { path = "../../muxers/mplex" }
2525
libp2p-plaintext = { path = "../../transports/plaintext" }
2626
quickcheck = "0.9.0"

misc/peer-id-generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ categories = ["network-programming", "asynchronous"]
1111
publish = false
1212

1313
[dependencies]
14-
libp2p-core = { path = "../../core" }
14+
libp2p-core = { path = "../../core", default-features = false }
1515
num_cpus = "1.8"

muxers/mplex/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 0.30.0 [unreleased]
22

3+
- Make default features of `libp2p-core` optional.
4+
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
35
- Update dependencies.
46

57
# 0.29.0 [2021-07-12]

muxers/mplex/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"]
1313
bytes = "1"
1414
futures = "0.3.1"
1515
asynchronous-codec = "0.6"
16-
libp2p-core = { version = "0.30.0", path = "../../core" }
16+
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
1717
log = "0.4"
1818
nohash-hasher = "0.2"
1919
parking_lot = "0.11"

muxers/yamux/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# 0.34.0 [unreleased]
22

3+
- Make default features of `libp2p-core` optional.
4+
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
5+
36
- Update dependencies.
47

58
- Implement `From<io::Error> for YamuxError` instead of `Into`.

muxers/yamux/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ categories = ["network-programming", "asynchronous"]
1111

1212
[dependencies]
1313
futures = "0.3.1"
14-
libp2p-core = { version = "0.30.0", path = "../../core" }
14+
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
1515
parking_lot = "0.11"
1616
thiserror = "1.0"
1717
yamux = "0.9.0"

protocols/floodsub/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# 0.31.0 [unreleased]
22

3+
- Make default features of `libp2p-core` optional.
4+
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
5+
36
- Update dependencies.
47

58
# 0.30.0 [2021-07-12]

protocols/floodsub/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"]
1313
cuckoofilter = "0.5.0"
1414
fnv = "1.0"
1515
futures = "0.3.1"
16-
libp2p-core = { version = "0.30.0", path = "../../core" }
16+
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
1717
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
1818
log = "0.4"
1919
prost = "0.8"

protocols/gossipsub/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# 0.33.0 [unreleased]
22

3+
- Make default features of `libp2p-core` optional.
4+
[PR 2181](https://github.com/libp2p/rust-libp2p/pull/2181)
5+
36
- Improve internal peer tracking.
47
[PR 2175](https://github.com/libp2p/rust-libp2p/pull/2175)
58

protocols/gossipsub/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ categories = ["network-programming", "asynchronous"]
1111

1212
[dependencies]
1313
libp2p-swarm = { version = "0.31.0", path = "../../swarm" }
14-
libp2p-core = { version = "0.30.0", path = "../../core" }
14+
libp2p-core = { version = "0.30.0", path = "../../core", default-features = false }
1515
bytes = "1.0"
1616
byteorder = "1.3.4"
1717
fnv = "1.0.7"

0 commit comments

Comments
 (0)