Cargo Features

[dependencies]
dce-router = { version = "1.0.0", default-features = false, features = ["async", "session"] }
default = async

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

async default = async-trait

Affects api::ApiTrait.call_controller, protocol::RoutableProtocol.body, protocol::RoutableProtocol.handle

session

Affects protocol::HEAD_SID_NAME, protocol::RoutableProtocol.sid, protocol::RoutableProtocol.set_resp_sid, protocol::RoutableProtocol.get_resp_sid, protocol::RoutableProtocol.set_session, protocol::RoutableProtocol.session

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-trait async