Cargo Features
[dependencies]
str-queue = { version = "0.0.1", default-features = false, features = ["std", "std_with_memchr"] }
- default = std
-
The
std
feature is set by default wheneverstr-queue
is added without
somewhere in the dependency tree.default-features = false - std default std_with_memchr?
- std_with_memchr = std
-
memchr:
The 'std' feature permits the memchr crate to use the standard library. This permits this crate to use runtime CPU feature detection to automatically accelerate searching via vector instructions. Without the standard library,
this automatic detection is not possible.
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.