Cargo Features
[dependencies]
hakuban = { version = "0.8.1", default-features = false, features = ["ffi", "wasm", "tokio-runtime", "console_error_panic_hook", "musl", "downstream"] }
- default = downstream, ffi, tokio-runtime
-
These default features are set whenever
hakuban
is added without
somewhere in the dependency tree.default-features = false - ffi default
-
Affects
hakuban::ffi
… - wasm = console_error_panic_hook
- tokio-runtime default
-
TODO: C-FEATURE: rename to "tokio" when "-Z namespaced-features" is not needed
Enables async-tungstenite ^0.28, tokio, and tokio-native-tls
Affects
hakuban::tokio_runtime
…Required by the hakuban-router binary
- console_error_panic_hook wasm?
-
Enables console_error_panic_hook
- musl
- downstream default
-
Enables rand ^0.8
Required by the hakuban-router binary