diff --git a/CHANGELOG.md b/CHANGELOG.md index f06ba8fcefb..b5e3e828d81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -64,6 +64,11 @@ - `libp2p-websocket` - `libp2p-yamux` +- Re-export the `wasm-bindgen` feature from `parking_lot`, so + `libp2p` users can opt-in to that crate's Wasm support. See [PR 2180]. + +[PR 2180]: https://github.com/libp2p/rust-libp2p/pull/2180/ + ## Version 0.39.1 [2021-07-12] - Update individual crates. diff --git a/Cargo.toml b/Cargo.toml index ba964a0149b..675e4a1a5ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,6 +50,7 @@ request-response = ["libp2p-request-response"] tcp-async-io = ["libp2p-tcp", "libp2p-tcp/async-io"] tcp-tokio = ["libp2p-tcp", "libp2p-tcp/tokio"] uds = ["libp2p-uds"] +wasm-bindgen = ["parking_lot/wasm-bindgen"] wasm-ext = ["libp2p-wasm-ext"] wasm-ext-websocket = ["wasm-ext", "libp2p-wasm-ext/websocket"] websocket = ["libp2p-websocket"]