Cargo Features

[dependencies]
crop = { version = "0.4.3", default-features = false, features = ["std", "graphemes", "serde", "simd", "utf16-metric", "small_chunks", "arity_4", "deep_trees", "dp"] }
default = simd, std

These default features are set whenever crop is added without default-features = false somewhere in the dependency tree.

std default
graphemes = unicode-segmentation
serde

Enables serde

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.

unicode-segmentation graphemes?