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

#2341 in Development tools

Download history 76/week @ 2024-02-16 157/week @ 2024-02-23 58/week @ 2024-03-01 28/week @ 2024-03-08 15/week @ 2024-03-15 4/week @ 2024-03-22 35/week @ 2024-03-29 4/week @ 2024-04-05 536/week @ 2024-04-26 7/week @ 2024-05-03

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

~8–18MB
~222K SLoC