Cargo Features
[dependencies]
brush-rustyline-fork = { version = "14.0.1", default-features = false, features = ["custom-bindings", "derive", "with-dirs", "with-file-history", "with-sqlite-history", "with-fuzzy", "case_insensitive_history_search", "buffer-redux", "signal-hook", "termios"] }
- default = custom-bindings, with-dirs, with-file-history
-
These default features are set whenever
brush-rustyline-fork
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
brush-rustyline-fork::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
For History
- rusqlite with-sqlite-history?
-
Enables rusqlite ^0.31.0
- radix_trie custom-bindings
-
Enables radix_trie
For custom bindings
- regex case_insensitive_history_search?
- rustyline-derive derive?
-
Enables rustyline-derive ^0.10.0
For derive
- buffer-redux unix implicit feature
-
Enables buffer-redux
buffer-redux:
Drop-in replacements for buffered I/O in
std::io
with extra featuresAffects
unix::PosixBuffer
… - signal-hook unix implicit feature
-
Enables signal-hook
signal-hook:
Unix signal handling
- termios unix implicit feature
-
Enables termios
termios:
Safe bindings for the termios library
- skim unix with-fuzzy?
-
Enables skim ^0.10