Cargo Features
[dependencies]
sea-streamer-examples = { version = "0.5.0", default-features = false, features = ["runtime-tokio", "runtime-async-std"] }
- default = runtime-tokio
-
The
runtime-tokio
feature is set by default wheneversea-streamer-examples
is added without
somewhere in the dependency tree.default-features = false - runtime-tokio default = tokio
-
Enables runtime-tokio of sea-streamer
- runtime-async-std = async-std
-
Enables runtime-async-std of sea-streamer
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.