Cargo Features
[dependencies]
jumprope = { version = "1.1.2", default-features = false, features = ["ddos_protection", "wchar_conversion", "line_conversion", "buffered"] }
- default = ddos_protection
-
The
ddos_protection
feature is set by default wheneverjumprope
is added without
somewhere in the dependency tree.default-features = false - ddos_protection default
-
ddos_protection makes jumprope use a better RNG algorithm to avoid DOS attacks
- wchar_conversion
-
wchar_conversion adds support for converting wchar positions (eg from JS or ObjC) into local unicode offsets.
- line_conversion
-
Line conversion adds support for editing using line/column offsets instead of character offsets.
- buffered
-
TODO: Remove me for 2.0 - the buffered feature is no longer needed.