Cargo Features
[dependencies]
yuffie = { version = "0.0.1", default-features = false, features = ["alloc", "panic_handler", "proc_macros"] }
- default = alloc, panic_handler
-
These default features are set whenever
yuffie
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
Provide a default global allocator for Rust code and enable functionality that requires an allocator
Affects
yuffie::global_alloc
,yuffie::init
… - panic_handler default
-
Provide a default panic handler
- proc_macros = yuffie-proc-macros
-
Enable procedural macros
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.