Cargo Features
[dependencies]
xous-log = { version = "0.1.27", default-features = false, features = ["precursor", "hosted", "renode", "debugprint", "logging", "utralib"] }
- precursor
- hosted
- renode
- debugprint
-
adding this allocates the UART for debugging the logger
- logging default
-
adding this allocates the hardware UART for console interactions
- default = logging
-
The
logging
feature is set by default wheneverxous-log
is added without
somewhere in the dependency tree.default-features = false
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features.
Dependency versions enforced by Cargo.lock.
- utralib implicit feature