Cargo Features
[dependencies]
near-time = { version = "0.27.0", default-features = false, features = ["clock", "serde"] }
- default = serde
-
The
serde
feature is set by default whenevernear-time
is added without
somewhere in the dependency tree.default-features = false - clock
-
Enables tokio
Affects
near-time::clock
… - serde default
-
Affects
near-time::serde
…
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.