Cargo Features
[dependencies]
dcbor = { version = "0.15.2", default-features = false, features = ["no_std", "std", "multithreaded"] }
- default = std
-
The
std
feature is set by default wheneverdcbor
is added without
somewhere in the dependency tree.default-features = false - no_std = hashbrown, thiserror-no-std
-
Affects
stdlib::without_std
… - std default = thiserror
-
Enables std of anyhow, chrono, half =2.2.1, and hex
Affects
stdlib::with_std
… - multithreaded
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 no_std?
-
Enables hashbrown ^0.14.3
- thiserror-no-std no_std?
- thiserror std
-
Enables thiserror ^1.0.58