confy
confy copied to clipboard
🛋 Zero-boilerplate configuration management in Rust
`confy::load("name")` crashes with`BadConfigDirectoryStr` Version 0.4.0
I'm using confy 0.3.1, and it seems that I am unable to remove items from a vec in my config (adding items works fine). But when I was trying to...
(The Discord chat room doesn't seem to load, so I'm asking here) In the design philosophy of confy, is the developer allowed (or encouraged) to edit the config file manually?...
The general idea behind this feature is the following. Take a configuration file: ``` my_option = "foo" ``` and a CLI which also wants to provide the option `my_option` which,...
Should it be possible to have a global config that is overwritten by a local/ user config, etc. And how would be the best way to implement this? Suggested by...
This would simplify the main API and allow more configuration options without blowing up the main code body. Suggested by https://github.com/rust-clique/confy/pull/2#pullrequestreview-116190033
For a crate like this, I think it's super important to lay out goals and non-goals. Let's figure out what they are! Some sources of inspiration for goals and non-goals:...
This adds the feature flag `ron_conf` to confy which allows confy to work with [ron](https://github.com/ron-rs/ron) files. Note: I also set the rust language version in `Cargo.toml` to "2021".
It feels weird that I should need to implement a feature with my CLI application to display the path to the configuration file, when all I need to know is...
Result is None when test.toml is blank. I wish to get as below, how can I do it? ```bash Some( Test { sub: Some( [ Data { id: 2, name:...