Skip to content

Commit 7391b6e

Browse files
Cargo.toml: Reexport wasm-bindgen feature from parking_lot (#2180)
Co-authored-by: Max Inden <[email protected]>
1 parent a0d690e commit 7391b6e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
- `libp2p-websocket`
6565
- `libp2p-yamux`
6666

67+
- Re-export the `wasm-bindgen` feature from `parking_lot`, so
68+
`libp2p` users can opt-in to that crate's Wasm support. See [PR 2180].
69+
70+
[PR 2180]: https://github.com/libp2p/rust-libp2p/pull/2180/
71+
6772
## Version 0.39.1 [2021-07-12]
6873

6974
- Update individual crates.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ request-response = ["libp2p-request-response"]
5050
tcp-async-io = ["libp2p-tcp", "libp2p-tcp/async-io"]
5151
tcp-tokio = ["libp2p-tcp", "libp2p-tcp/tokio"]
5252
uds = ["libp2p-uds"]
53+
wasm-bindgen = ["parking_lot/wasm-bindgen"]
5354
wasm-ext = ["libp2p-wasm-ext"]
5455
wasm-ext-websocket = ["wasm-ext", "libp2p-wasm-ext/websocket"]
5556
websocket = ["libp2p-websocket"]

0 commit comments

Comments
 (0)