19 releases

0.6.6 Feb 28, 2024
0.6.5 Jan 9, 2024
0.6.4 Dec 5, 2023
0.6.3 Nov 2, 2023
0.4.0 Nov 26, 2022

#2385 in Development tools

Download history 2/week @ 2024-02-11 85/week @ 2024-02-18 187/week @ 2024-02-25 21/week @ 2024-03-03 31/week @ 2024-03-10 12/week @ 2024-03-17 39/week @ 2024-03-31 543/week @ 2024-04-28 13/week @ 2024-05-19

556 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

~7–17MB
~221K SLoC