structconf 0.5.0

Combine clap and rust-ini into a single procedural macro
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Shouldn't compile because an identifier is repeated

use structconf::StructConf;

#[derive(StructConf)]
struct Config {
    // Automatically generated short names also count.
    #[conf(no_file, no_long)]
    pub name1: bool,
    #[conf(no_file, no_long)]
    pub name2: bool,
}

fn main() {}