Skip to content

Commit

Permalink
*: Remove default features from all crates (libp2p#2918)
Browse files Browse the repository at this point in the history
Remove default features. You need to enable required features
explicitly now. As a quick workaround, you may want to use the
new `full` feature which activates all features.
  • Loading branch information
thomaseizinger authored Sep 29, 2022
1 parent bce8d96 commit 943b9c2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 0.8.0 [unreleased]

- Update to `libp2p-core` `v0.37.0`.

- Update to `libp2p-swarm` `v0.40.0`.

- Update to `libp2p-request-response` `v0.22.0`.

# 0.7.0

- Update to `libp2p-swarm` `v0.39.0`.
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "libp2p-autonat"
edition = "2021"
rust-version = "1.56.1"
description = "NAT and firewall detection for libp2p"
version = "0.7.0"
version = "0.8.0"
authors = ["David Craven <[email protected]>", "Elena Frank <[email protected]>"]
license = "MIT"
repository = "https://github.com/libp2p/rust-libp2p"
Expand All @@ -18,9 +18,9 @@ async-trait = "0.1"
futures = "0.3"
futures-timer = "3.0"
instant = "0.1"
libp2p-core = { version = "0.36.0", path = "../../core", default-features = false }
libp2p-swarm = { version = "0.39.0", path = "../../swarm" }
libp2p-request-response = { version = "0.21.0", path = "../request-response" }
libp2p-core = { version = "0.37.0", path = "../../core" }
libp2p-swarm = { version = "0.40.0", path = "../../swarm" }
libp2p-request-response = { version = "0.22.0", path = "../request-response" }
log = "0.4"
rand = "0.8"
prost = "0.11"
Expand All @@ -29,4 +29,4 @@ prost = "0.11"
async-std = { version = "1.10", features = ["attributes"] }
env_logger = "0.9"
clap = {version = "3.1.6", features = ["derive"]}
libp2p = { path = "../../", default-features = false, features = ["autonat", "dns-async-std", "identify", "mplex", "noise", "tcp-async-io", "websocket", "yamux"] }
libp2p = { path = "../..", features = ["full"] }

0 comments on commit 943b9c2

Please sign in to comment.