Expand description
Configuration loading and types for the doing CLI.
This crate handles discovering, parsing, merging, and deserializing the doing configuration from multiple sources:
- Global config —
$DOING_CONFIG, XDG config home, or~/.doingrc. - Local configs —
.doingrcfiles walked from filesystem root to$CWD(each layer deep-merges over the previous). - Environment variables —
DOING_FILE,DOING_BACKUP_DIR,DOING_EDITOR, and others override individual fields (see [env]).
Config files may be YAML, TOML, or JSON (with comments). The merged result is
deserialized into Config, which provides typed access to all settings with
sensible defaults.
§Usage
let config = doing_config::Config::load().unwrap();
println!("doing file: {}", config.doing_file.display());Modules§
Structs§
- Autotag
Config - Autotag configuration for automatic tag assignment.
- Byday
Plugin Config - Configuration for the byday plugin.
- Config
- Top-level configuration for the doing application.
- Editors
Config - Editor configuration for various contexts.
- Interaction
Config - Interaction settings for user prompts.
- Plugins
Config - Plugin paths and plugin-specific settings.
- Search
Config - Search behavior settings.
- Shortdate
Format Config - Date format strings for relative time display.
- Template
Config - A named display template.
- View
Config - A named custom view.
Enums§
- Sort
Order - The order in which items are sorted.