Cargo Features
xous-api-susres has no features set by default.
[dependencies]
xous-api-susres = { version = "0.9.62", 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.Affects
api::RegOrField
,api::ManagedReg
,api::RegManager
,api::SuspendResume
,api::ManagedMem
… - hosted
- renode
-
Affects
api::RegOrField
,api::ManagedReg
,api::RegManager
,api::SuspendResume
,api::ManagedMem
… - 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.