Cargo Features
riot-sys has no features set by default.
[dependencies]
riot-sys = { version = "0.7.14", features = ["keep-extern-types", "riot-rs"] }
- keep-extern-types riot-rs?
-
When this is active, the workarounds that keep C2Rust from generating extern types are disabled, and the library uses the nightly compiler feature
extern_types
. - riot-rs = keep-extern-types, riot-build, riot-rs-core
-
this needs to be set to build together with RIOT-rs.
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.
- riot-build riot-rs?
-
Enables riot-build
optionally use RIOT-rs's riot-build
- riot-rs-core riot-rs?