Cargo Features
[dependencies]
atomic-time = { version = "0.1.5", default-features = false, features = ["std", "serde"] }
- default = std
-
The
std
feature is set by default wheneveratomic-time
is added without
somewhere in the dependency tree.default-features = false - std default = once_cell
-
Enables std of portable-atomic
portable-atomic:
Use
std
.Affects
atomic-time::utils.encode_instant_to_duration
,atomic-time::utils.decode_instant_from_duration
…
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.