-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(config)!: Use clap derive API and figment for config parsing
Use figment for parsing configuration from env vars, cli, toml file. Switch from clap builder api to clap derive api. This creates a struct that then be fed to figment. Remove old homegrown config builder. Remove direct toml dependency, it's handled by figment now. Update documentation concerning booleanss and numbers. BREAKING CHANGE: toml booleans and numbers in the config files can't be quoted anymore. Previously they had to be quoted strings due to implementation issues.
- Loading branch information
Showing
12 changed files
with
408 additions
and
1,015 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.