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

#2331 in Development tools

Download history 67/week @ 2024-02-14 27/week @ 2024-02-21 191/week @ 2024-02-28 19/week @ 2024-03-06 28/week @ 2024-03-13 6/week @ 2024-03-20 12/week @ 2024-03-27 27/week @ 2024-04-03 533/week @ 2024-04-24 10/week @ 2024-05-01

543 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
~219K SLoC