Cargo Features
[dependencies]
ropey = { version = "2.0.0-alpha.2", default-features = false, features = ["metric_utf16", "metric_lines_lf", "metric_lines_lf_cr", "metric_lines_unicode", "simd", "internal_dev_small_chunks"] }
- default = metric_lines_lf_cr, simd
-
These default features are set whenever
ropey
is added without
somewhere in the dependency tree.default-features = false - metric_chars metric_utf16
- metric_lines_lf
-
Affects
ropey::LineType
… - metric_lines_lf_cr default
-
Affects
ropey::LineType
… - metric_lines_unicode
-
Affects
ropey::LineType
… - simd default
-
Enables simd of str_indices
str_indices:
Enable explicit SIMD optimizations on supported platforms.
- internal_dev_small_chunks
-
DO NOT USE THIS FEATURE. It is for internal debugging and testing purposes only, and makes Ropey much slower and more memory hungry. It is also not part of the stable public API, and may be removed or changed in non-breaking releases.