Cargo Features
[dependencies]
lorust = { version = "0.2.0", default-features = false, features = ["function", "debounce", "lang", "is_number", "math", "round", "object", "map_values", "merge", "set", "string", "capitalize", "deburr", "kebab_case", "words"] }
- default = function, lang, math, object, string
-
These default features are set whenever
lorust
is added without
somewhere in the dependency tree.default-features = false - function default = debounce
- debounce function = log
- lang default = is_number
- is_number lang
- math default = round
- round math
- object default = get, map_values, merge, pick, set
- get map_values object
- merge object = serde_json
- pick set object
- string default = capitalize, deburr, ends_with, kebab_case, words
- capitalize string
- deburr string = unicode-normalization
- ends_with kebab_case string
- words string = regex
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.