brewdrivers 0.17.0

Brewkit drivers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use brewdrivers::model::RTU;
use env_logger;

fn main() {
    // This will generate an RTU from the default location (look in defaults.rs in brewdrivers)
    // and print the logging output from it. Can be useful to test if the config file is valid.
    //
    // I think there's also a cli argument to iris that will validate the rtu config
    env_logger::init_from_env(env_logger::Env::new().default_filter_or("trace"));

    RTU::generate(None).unwrap();
}