Cargo Features
libp2p-gossipsub has no features set by default.
[dependencies]
libp2p-gossipsub = { version = "0.46.1", features = ["wasm-bindgen", "serde"] }
- wasm-bindgen
-
Enables wasm-bindgen of instant and js of getrandom
getrandom:
Feature to enable JavaScript bindings on wasm*-unknown-unknown