flatbed 0.0.3

Rust HTTP framework with FlatBuffer codegen, built on Hyper
Documentation
1
2
3
4
5
6
7
8
9
10
fn main() {
    println!("cargo:rerun-if-env-changed=FLATBED_GENERATE");

    if std::env::var("FLATBED_GENERATE").as_deref() == Ok("1") {
        flatbed_build::Config::new()
            .schema("schemas/test.fbs")
            .compile()
            .expect("flatbed_build compilation failed");
    }
}