Cargo Features
[dependencies]
joshuto = { version = "0.9.7", default-features = false, features = ["devicons", "file_mimetype", "syntax_highlight"] }
- default = devicons, syntax_highlight
-
These default features are set whenever
joshuto
is added without
somewhere in the dependency tree.default-features = false - devicons default = phf
-
Affects
tui_dirlist::get_entry_icon
… - file_mimetype
- syntax_highlight default = ansi-to-tui
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.