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 whenever darkredis is added without default-features = false somewhere in the dependency tree.

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.

async-std runtime_async_std?
tokio runtime_tokio