Cargo Features

dce = { version = "1.0.0", default-features = false, features = ["async", "async-session-app", "connection-session", "sync-session"] }
default = async

The async feature is set by default whenever dce is added without default-features = false somewhere in the dependency tree.

async default = async-session-app, dce-hyper, dce-tokio, dce-tokio-tungstenite

Enables async of dce-cli and dce-router

async-session-app async

Enables session of dce-cli, sailfish and session of dce-hyper, session of dce-router, redis-user-async-auto of dce-session, session of dce-tokio and dce-tokio-tungstenite


Enables connection of dce-session


Enables redis-user-auto of dce-session, session of dce-cli and dce-router

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.

dce-hyper async async-session-app?
dce-tokio async async-session-app?
dce-tokio-tungstenite async async-session-app?