Cargo Features
[dependencies]
darkredis = { version = "0.8.0", default-features = false, features = ["runtime_tokio", "runtime_async_std", "bench"] }
- default = runtime_tokio
-
The
runtime_tokio
feature is set by default wheneverdarkredis
is added without
somewhere in the dependency tree.default-features = false - runtime_tokio default = tokio
- runtime_async_std = async-std
- bench
-
Compile benchmark-specific functions. You should NOT set this yourself, because it re-exports pub(crate) functions as pub, which changes the API. The API exposed by this feature will never be considered stable.
Affects
darkredis::test
…
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.