Cargo Features
[dependencies]
uhlc = { version = "0.8.0", default-features = false, features = ["std", "defmt"] }
- default = std
-
The
std
feature is set by default wheneveruhlc
is added without
somewhere in the dependency tree.default-features = false - std default = humantime, lazy_static, log
-
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
Affects
uhlc::system_time_clock
… - defmt
-
Enables defmt for logging in no_std
Enables defmt
Replaces log in 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.