Cargo Features
[dependencies]
kmip-ttlv = { version = "0.3.5", default-features = false, features = ["high-level", "sync", "async-with-async-std", "async-with-tokio"] }
- default = high-level, sync
-
These default features are set whenever
kmip-ttlv
is added without
somewhere in the dependency tree.default-features = false - high-level default = hex, serde
-
Affects
kmip-ttlv::de
,kmip-ttlv::error
,kmip-ttlv::ser
,kmip-ttlv::traits
,kmip-ttlv::util
… - sync default
-
Enables is_sync of maybe-async
- async-with-async-std = async-std
- async-with-tokio = 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.
- async-std async-with-async-std?
- hex high-level
-
Enables hex
for examples/hex_to_text.rs
- serde high-level
- tokio async-with-tokio?