[package] name = "libp2p-wasm-ext" edition = "2021" rust-version = { workspace = true } description = "Allows passing in an external transport in a WASM environment" version = "0.40.0" authors = ["Pierre Krieger "] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] futures = "0.3.28" js-sys = "0.3.63" libp2p-core = { workspace = true } send_wrapper = "0.6.0" wasm-bindgen = "0.2.86" wasm-bindgen-futures = "0.4.36" [features] websocket = [] # Passing arguments to the docsrs builder in order to properly document cfg's. # More information: https://docs.rs/about/builds#cross-compiling [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] rustc-args = ["--cfg", "docsrs"]