rc_conf 0.14.0

rc_conf provides rc.conf and rc.d-like data structures for consumption.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! ```
//! USAGE: rcdebug <rc_conf_path>
//! ```

use rc_conf::RcConf;

fn main() {
    let args = std::env::args().collect::<Vec<_>>();

    for path in args[1..].iter() {
        println!(
            "{:#?}",
            RcConf::parse(path).expect("parse should always succeed")
        );
    }
}