Cargo Features
[dependencies]
wa_proto = { version = "0.1.2", default-features = false, features = ["std", "hashmap", "map", "no_std", "chrono"] }
- default = std
-
The
std
feature is set by default wheneverwa_proto
is added without
somewhere in the dependency tree.default-features = false - std default = map
-
Affects
protocol::ProtocolError
,protocol::ARGS_NEXT_ERROR
,protocol::ENUM_FROM_U32_ERROR
,protocol::Incoming.args
,protocol::Incoming.fill
,protocol::Outcoming.read
… - hashmap = hashbrown
- map std = rustc-hash
- no_std = hashbrown
-
rustc-hash optional for no_std
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.
- hashbrown hashmap? no_std?
-
Enables hashbrown ^0.12
- rustc-hash map?
-
Enables rustc-hash ^1.1
- chrono implicit feature
-
Enables chrono
chrono:
Date and time library for Rust