Cargo Features
Walle-core has no features set by default.
[dependencies]
walle-core = { version = "0.7.4", features = ["full", "http", "websocket", "app-obc", "impl-obc", "alt", "tokio-rt"] }
- full = alt, app-obc, http, impl-obc, websocket
- http full? = hyper
-
Affects
util::ProtocolItem.to_body
… - websocket full? = tokio-tungstenite
-
Affects
util::ProtocolItem.to_ws_msg
… - app-obc full? = sha2
-
Enables fs and io-util of tokio
Affects
walle-core::obc
… - impl-obc full? = uuid
-
Affects
util::new_uuid
,walle-core::obc
… - alt full?
-
Affects
walle-core::alt
… - tokio-rt
-
Enables rt-multi-thread of tokio
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.
- uuid impl-obc?
- hyper http?
-
Enables hyper ^0.14
- tokio-tungstenite websocket?
-
Enables tokio-tungstenite ^0.17
- sha2 app-obc?