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
16
17
18
---
source: einstellung_derive/src/test.rs
expression: formatted
---
/// --- input ---
#[derive(Config)]
struct AppConfig {
    #[config(subconfig)]
    db: UnconfiguredDatabase,
}
struct UnconfiguredDatabase {
    url: String,
}

/// --- output ---
::core::compile_error! {
    "unexpected token"
}