Cargo Features
[dependencies]
catnip = { version = "0.3.1", default-features = false, features = ["panic_never", "no_std"] }
- default = no_std
-
Just for clarity; in fact, we are always no-std and panic-never compatible
- panic_never = panic-never
-
Bring in the actual panic-never panic handler
- no_std default
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.