| Crates.io | konfig-rust-derive |
| lib.rs | konfig-rust-derive |
| version | 0.1.1 |
| created_at | 2025-02-27 22:45:54.252925+00 |
| updated_at | 2025-02-28 13:23:16.598054+00 |
| description | A derive macro for the konfig-rust library, allowing shorthand implementation of the KonfigSection trait |
| homepage | |
| repository | https://github.com/kociumba/konfig-rust |
| max_upload_size | |
| id | 1572241 |
| size | 4,993 |
konfig-rust-derive is a derive macro helper for konfig-rust
It allows for quickly implementing the KonfigSection trait for structs with default behaviour.
Example:
#[derive(KonfigSection)]
struct Config {
name: String,
age: u32,
}