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

There are still several things I absolutely want to add. This issue is mostly just a note to myself. **Soon** - [ ] `format` should mention env variables - [...

`figment` can automatically get names of expected environment variables. With the following config: ```rs #[derive(Deserialize, Debug, Clone, Serialize)] pub struct OpenlibraryConfig { pub url: String } #[derive(Deserialize, Debug, Clone, Serialize)]...

It might be useful to treat nested configuration more like normal values? Making them optional or putting them in lists/maps. But there are lots of open questions and I have...

same as https://github.com/LukasKalbertodt/confique/issues/25 but for `#![deny(clippy::missing_docs_in_private_items)]` To reproduce: 1. Have a config struct that the lib does not make public 2. Use #![deny(clippy::missing_docs_in_private_items)] Seems like the doc comment is not...

Hey, just a quick question: Is there any way to save the loaded config as file (e.g. `yaml` file)?

Right now `default` only allows a handful of different expression types. But sometimes you might want to store the value in a Rust constant or call a function or something...

It's a project I'm currently planing but haven't really found how I want to do yet, and I stumbled upon this crate looking for a name.

Hey 👋 very excited for this crate. The way it was implemented is very similar to ideas I had for my own crate... which I never started. One thing I...

(Issue moved from [here](https://github.com/LukasKalbertodt/confique/issues/1#issuecomment-1250169754) for better discussion) @amkartashov wrote: > What about allowing to derive Config for enums? I started using your library in my project and have `oneof` fields...

A user defined function that is called when loading a config file. Mostly useful to automatically call `.validate()` on nested fields for example. Or maybe even add built-in attributes like...