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 whenever jumprope is added without default-features = false somewhere in the dependency tree.

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.