Cargo Features
[dependencies]
defmt-or-log = { version = "0.2.1", default-features = false, features = ["log", "defmt", "at_least_one"] }
- log
-
Choose at most one of the following two features
Enables log
Affects
traits::FormatOrDebug
… - defmt
-
Enables defmt
Affects
traits::FormatOrDebug
… - at_least_one default
-
If enabled, at least one of the above features must be enabled
- default = at_least_one
-
The
at_least_one
feature is set by default wheneverdefmt-or-log
is added without
somewhere in the dependency tree.default-features = false