opensensor 0.4.0

A crate for streaming and archiving measurements from sensors
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::path::Path;

fn build_flatbuffers() {
    let flatbuffer_paths = [Path::new("flatbuffers/reflection.fbs")];
    flatc_rust::run(flatc_rust::Args {
        inputs: &flatbuffer_paths,
        out_dir: Path::new("src"),
        ..Default::default()
    })
    .expect("flatc");
}

fn main() {
    build_flatbuffers();
}