Cargo Features

[dependencies]
uhlc = { version = "0.7.0", default-features = false, features = ["std", "defmt"] }
default = std

The std feature is set by default whenever uhlc is added without default-features = false somewhere in the dependency tree.

std default = humantime, lazy_static, log

Enables std of rand and serde

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.

humantime std
lazy_static std
log std

Enables log

Used only in std