pgschema 0.1.139

Prototype for PG-SChema with property constraints
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::process::exit;

fn main() {
    // let mut settings = rustemo_compiler::Settings::new();
    let mut settings = rustemo_compiler::Settings::new()
        .notrace(true)
        .in_source_tree();
    settings.process_dir().unwrap();
    if std::env::var("CARGO_FEATURE_ARRAYS").is_ok() {
        settings = settings.generator_table_type(rustemo_compiler::GeneratorTableType::Arrays);
    }

    if let Err(e) = settings.process_dir() {
        eprintln!("{}", e);
        exit(1);
    }
}