Cargo Features
[dependencies]
sentinel = { version = "0.5.4", default-features = false, features = ["alloc", "nightly", "memchr", "libc"] }
- default = alloc, memchr
-
These default features are set whenever
sentinel
is added without
somewhere in the dependency tree.default-features = false - alloc default
-
Adds support for the
alloc
crate. - nightly
-
Adds support for nightly features such as
extern_types
andallocator_api
.
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.