Cargo Features
[dependencies]
rustyline-with-newest-nix = { version = "12.0.0", default-features = false, features = ["custom-bindings", "derive", "with-dirs", "with-file-history", "with-sqlite-history", "with-fuzzy", "case_insensitive_history_search", "signal-hook"] }
- default = custom-bindings, with-dirs, with-file-history
-
These default features are set whenever
rustyline-with-newest-nix
is added without
somewhere in the dependency tree.default-features = false - custom-bindings default = radix_trie
- derive = rustyline-derive
- with-dirs default = home
- with-file-history default = fd-lock
-
Affects
history::FileHistory
,history::DefaultHistory
… - with-sqlite-history = rusqlite
-
Affects
rustyline-with-newest-nix::sqlite_history
… - 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.
- home with-dirs
-
Enables home
For file completion
- fd-lock with-file-history
-
Enables fd-lock ^3.0.0
For History
- rusqlite with-sqlite-history?
-
Enables rusqlite ^0.29.0
- radix_trie custom-bindings
-
Enables radix_trie
For custom bindings
- regex case_insensitive_history_search?
- rustyline-derive derive?
-
Enables rustyline-derive ^0.9.0
For derive
- signal-hook unix implicit feature
-
Enables signal-hook
signal-hook:
Unix signal handling
- skim unix with-fuzzy?
-
Enables skim ^0.10