23 releases

0.6.11 Sep 9, 2024
0.6.9 Jul 29, 2024
0.6.6 Feb 28, 2024
0.6.4 Dec 5, 2023
0.4.0 Nov 26, 2022

#2197 in Development tools


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–17MB
~223K SLoC