doing-config (0.1.7)

Published 2026-11-20 03:18:50 +00:00 by aaron in aaron/doing

Installation

[registries.forgejo]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add [email protected] --registry forgejo

About this package

Configuration loading and types for the doing CLI

doing-config

Configuration loading and types for the doing CLI.

This crate handles config file discovery (global and local .doingrc files), multi-format parsing (YAML, TOML, JSON), deep-merging of layered configs, environment variable overrides, and typed configuration structs.

Usage

use doing_config::Config;

let config = Config::load().unwrap();
println!("Current section: {}", config.current_section);
println!("Doing file: {}", config.doing_file.display());

License

MIT — see LICENSE for details.

Dependencies

ID Version
dir_spec ^0.5
doing-error ^0.1.1
doing-time ^0.1.9
json_comments ^0.2
serde ^1
serde_json ^1
toml ^1
typed-env ^0.3
yaml_serde ^0.10
pretty_assertions ^1
tempfile ^3

Keywords

cli doing time-tracking configuration
Details
Cargo
2026-11-20 03:18:50 +00:00
0
MIT
14 KiB
Assets (1)
Versions (9) View all
0.1.8 2026-11-20
0.1.7 2026-11-20
0.1.6 2026-11-20
0.1.5 2026-11-20
0.1.4 2026-11-20