27 releases

0.6.15 Feb 1, 2025
0.6.13 Dec 30, 2024
0.6.12 Nov 30, 2024
0.6.9 Jul 29, 2024
0.4.0 Nov 26, 2022

#2555 in Development tools

Download history 7/week @ 2024-11-04 12/week @ 2024-11-18 140/week @ 2024-11-25 58/week @ 2024-12-02 59/week @ 2024-12-09 4/week @ 2024-12-16 140/week @ 2024-12-30 17/week @ 2025-01-06 4/week @ 2025-01-13 6/week @ 2025-01-20 261/week @ 2025-01-27 53/week @ 2025-02-03 18/week @ 2025-02-10

338 downloads per month
Used in 6 crates

GPL-3.0 license

110KB
2K SLoC

Provides a general solution to maintain configuration spanned across different sources.

  • Default Values
  • System configuration
  • User configuration
  • Public project configuration (tracked by Git)
  • Private (local) project configuration (not tracked by Git)
  • Environment variables
  • Command line options

The configuration keys are string. Configuration values can be:

  • string
  • bool
  • int
  • float

Configuration files are in TOML.

Options can be nested like group.name = value.

Each option can be tracked to its source via [XvcConfigOption].

Dependencies

~8–16MB
~215K SLoC