confique icon indicating copy to clipboard operation
confique copied to clipboard

Type-safe, layered, light-weight, `serde`-based configuration library

Results 22 confique issues
Sort by recently updated
recently updated
newest added

Often it's useful to allow users to override some (or all) configuration values via command line. Confique should work nicely for that use case. The currently best way to do...

I constantly need to give the .env.example file to the devops team and maintain it consistency with in-code structure by hand is inconvenient. In the current implementation of Confique, the...

Merging is fine and all, but sometimes you want to just load from the first existing file of a list of file locations. Or other stuff.

This can be done in `clap` for example. Might be nice to express sth like that with attributes and have it checked automatically. However, it would increase the scope of...

It would be useful to make it possible for one field to come from multiple different names. Especially interesting for making backwards-compatible changes. New configs can use the new name...

People might want to use some logic of `File` (e.g. `required`) but with a non-built-in file type. Right now they have to do the file content loading themselves. It's not...

Some ideas what users might want to configure: - Whether the type or the field comment from nested fields is used - Whether the actual value is commented out, e.g....

Not sure if it's worth it to be honest. But I can imagine people not using it and it's quite a bit of code that could be disabled...

Right now all default values are printed in the config template in one line, e.g. `# Default value: { foo: 3, bar: 4 }` inline-map syntax. If the default values...

This library has to do some type inference to find out the exact type of integer and float literals. I think it works totally fine for a majority of real...