Cargo Features
[dependencies]
tap-agent = { version = "0.1.0", default-features = false, features = ["native", "wasm", "getrandom"] }
- default = native
-
The
native
feature is set by default whenevertap-agent
is added without
somewhere in the dependency tree.default-features = false - native default = tokio, url
- wasm = js-sys, wasm-bindgen, wasm-bindgen-futures, web-sys
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- tokio native
- url native
- wasm-bindgen wasm?
-
Enables wasm-bindgen
WASM support
- js-sys wasm?
- wasm-bindgen-futures wasm?
- getrandom implicit feature
-
Enables getrandom ^0.2
getrandom:
A small cross-platform library for retrieving random data from system source
- web-sys wasm?