rust-cli/config-rs
⚙️ Layered configuration system for Rust applications (with strong support for 12-factor applications). observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3508
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
3205 stars · 265 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Rust library providing a layered configuration system that merges defaults, files (JSON, TOML, YAML, INI, RON, JSON5, Corn), environment variables, and programmatic overrides. It supports serde deserialization, path-based nested access, live file watching, and custom formats via a Format trait.
Use cases
- load app settings from toml and environment variables in rust
- merge layered configuration with defaults and overrides
- read config files in json yaml ini formats
- implement 12-factor configuration for a rust service
- hot-reload configuration files when they change
- deserialize config into a rust struct with serde
When to choose
- you need to combine multiple config sources (files, env vars, defaults) with precedence
- your app follows 12-factor principles and reads config from the environment
- you want support for many config file formats out of the box
- you need live watching and re-reading of config files
When to avoid
- you need to write modified configuration values back to files - it is read-only
- you only need a single simple config file parsed once
- you need a GUI or CLI for managing configuration
Facets
library · maturity active
configuration-management serialization developer-tools developer-tools backend rust cross-platform 12-factor-apps config-files environment-variables serde layered-config hot-reload automation
10 sources
- readme: https://github.com/rust-cli/config-rs · fetched 2026-08-28 · 91de10322dd3
- homepage: https://docs.rs/config/latest/config/ · fetched 2026-08-29 · a9478fd701e2
- site_page: https://docs.rs/ · fetched 2026-08-29 · 204b338e455b
- site_page: https://docs.rs/crate/config/latest · fetched 2026-08-29 · e934757cc53d
- site_page: https://docs.rs/crate/config/latest/features · fetched 2026-08-29 · 9969f9a0b1df
- site_page: https://docs.rs/about · fetched 2026-08-29 · 29ab7986fbf5
- site_page: https://docs.rs/about/badges · fetched 2026-08-29 · 6588cac258af
- site_page: https://docs.rs/about/builds · fetched 2026-08-29 · 811231ca4680
- site_page: https://docs.rs/about/metadata · fetched 2026-08-29 · 0dcdccb2b2b2
- site_page: https://docs.rs/about/redirections · fetched 2026-08-29 · 1b1efd93105f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rust-cli/config-rs | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="rust-cli/config-rs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem