Cargo Features
[dependencies]
yatima-rustyline = { version = "0.2.0", default-features = false, features = ["custom-bindings", "with-dirs", "with-fuzzy", "case_insensitive_history_search", "signal-hook"] }
- default = custom-bindings, with-dirs
-
These default features are set whenever
yatima-rustyline
is added without
somewhere in the dependency tree.default-features = false - custom-bindings default = radix_trie
- with-dirs default = dirs-next
- with-fuzzy = skim
- case_insensitive_history_search = 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.
- dirs-next with-dirs
-
Enables dirs-next
For file completion https://rustsec.org/advisories/RUSTSEC-2020-0053.html
- radix_trie custom-bindings
-
Enables radix_trie
For custom bindings
- regex case_insensitive_history_search?
- signal-hook unix implicit feature
-
Enables signal-hook
signal-hook:
Unix signal handling
- skim unix with-fuzzy?
-
Enables skim ^0.9