einstellung_derive 0.1.6

Proc-Macro crate for einstellung
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
source: einstellung_derive/src/test.rs
expression: formatted
---
/// --- input ---
#[derive(Config)]
struct ServerConfig {
    #[config(default = 8080, default = 9090)]
    port: u16,
}

/// --- output ---
::core::compile_error! {
    "Duplicate field `default`"
}