Cargo Features
[dependencies]
slice_as_array = { version = "1.1.0", default-features = false, features = ["use_std", "compiletest"] }
- default = use_std
-
The
use_std
feature is set by default wheneverslice_as_array
is added without
somewhere in the dependency tree.default-features = false - use_std default
- compiletest = compiletest_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.