Cargo Features
[dependencies]
hypercore-protocol = { version = "0.6.1", default-features = false, features = ["wasm-bindgen", "sparse", "cache", "tokio", "async-std", "js_interop_tests"] }
- default = sparse, tokio
-
These default features are set whenever
hypercore-protocol
is added without
somewhere in the dependency tree.default-features = false - wasm-bindgen
-
Enables wasm-bindgen of futures-timer
- sparse default
- cache
- tokio default
- async-std
- js_interop_tests
-
Used only in interoperability tests under tests/js-interop which use the javascript version of hypercore to verify that this crate works. To run them, use:
cargo test --features js_interop_tests