Cargo Features
xous-susres has no features set by default.
[dependencies]
xous-susres = { version = "0.1.35", features = ["precursor", "hosted", "renode", "sus_reboot", "debugprint"] }
- 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
- sus_reboot
-
when selected, suspend triggers an immediate reboot instead of suspend. For testing only.
- debugprint
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.