gflags-derive 0.1.0

Derive gflags invocations from struct fields
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern crate gflags_derive;
use gflags_derive::GFlags;

#[derive(GFlags)]
#[gflags(foo)]
#[allow(dead_code)]
struct Config {
    /// True if log messages should also be sent to STDERR
    to_stderr: bool,

    /// The directory to write log files to
    dir: String,
}

fn main() {}