Cargo Features

[dependencies]
ropey = { version = "1.6.1", default-features = false, features = ["cr_lines", "unicode_lines", "simd", "small_chunks"] }
default = simd, unicode_lines

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

cr_lines unicode_lines

Enable recognizing carriage returns as line breaks.

unicode_lines default = cr_lines

Enable recognizing all Unicode line breaks.

simd default

Enables simd of str_indices

str_indices:

Enable explicit SIMD optimizations on supported platforms.

small_chunks

Internal feature: Not part of public stable API
enables a much smaller chunk size that makes it
easier to catch bugs without requiring huge text sizes during fuzzing.