Cargo Features
[dependencies]
xous-log = { version = "0.1.27", default-features = false, features = ["precursor", "hosted", "renode", "debugprint", "logging"] }
- precursor
-
utralib:
The SVD gitrev as specified above is only invoked to track fine-grained changes between target revisions. Below is the overall target switch,
which is the preferred mechanism for isolating target-specific code.
These features are mutually exclusive. Maintainers should update the checks inside build.rs to ensure consistency. - 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. These features may have been created by mistake, and this functionality may be removed in the future.
Dependency versions enforced by Cargo.lock.