Cargo Features
[dependencies]
crop = { version = "0.4.2", default-features = false, features = ["graphemes", "simd", "utf16-metric", "small_chunks", "arity_4", "deep_trees", "dp"] }
- default = simd
-
The
simd
feature is set by default whenevercrop
is added without
somewhere in the dependency tree.default-features = false - graphemes = unicode-segmentation
- simd default
-
Enables simd of str_indices
str_indices:
Enable explicit SIMD optimizations on supported platforms.
- utf16-metric
- small_chunks deep_trees?
-
Private features
- arity_4 deep_trees?
- deep_trees dp? = arity_4, small_chunks
- dp = deep_trees
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.