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(merge = "extend", merge = "replace")]
    tags: Vec<String>,
}

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