Cargo Features

[dependencies]
nom_locate = { version = "4.2.0", default-features = false, features = ["std", "alloc", "generic-simd", "runtime-dispatch-simd", "stable-deref-trait"] }
default = std

The std feature is set by default whenever nom_locate is added without default-features = false somewhere in the dependency tree.

std default = alloc

Enables std of nom and use_std of memchr

^1.0.0 + ^2.0

alloc std

Enables alloc of nom

generic-simd

Enables generic-simd of bytecount

runtime-dispatch-simd

Enables runtime-dispatch-simd of bytecount

stable-deref-trait = stable_deref_trait

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.

stable_deref_trait stable-deref-trait?