Cargo Features
thag_common has no features set by default.
[dependencies]
thag_common = { version = "0.2.1", features = ["debug_logging", "document-features", "config", "color_detect"] }
- default
-
<br><br>
The following features are supported:
Default features: none - debug_logging
-
Enable debug logging at compile time
- document-features
-
Documentation features
Enables document-features
- config color_detect? = edit, mockall, toml, toml_edit
-
Configuration management
Affects
thag_common::config… - color_detect = config, ratatui, scopeguard, supports-color, termbg
-
Terminal color support detection and background color detection
Affects
thag_common::terminal…
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.
- edit config?
-
Enables edit
Config feature dependencies
- mockall config?
-
Enables mockall ^0.13
- toml_edit config?
-
Enables toml_edit ^0.23
- toml config?
-
Enables toml ^0.9
- ratatui color_detect?
-
Enables ratatui ^0.29
Color detect feature dependencies
- scopeguard color_detect?
- supports-color color_detect?
- termbg color_detect?