Cargo Features
[dependencies]
dce-router = { version = "1.0.0", default-features = false, features = ["async", "session"] }
- default = async
-
The
async
feature is set by default wheneverdce-router
is added without
somewhere in the dependency tree.default-features = false - 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.