liveplot 1.1.0

Realtime interactive plotting library using egui/eframe, with optional gRPC and Parquet export support.
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Only build the proto files when the 'grpc' feature is enabled
    let grpc_enabled = std::env::var("CARGO_FEATURE_GRPC").is_ok();
    if grpc_enabled {
        tonic_prost_build::configure()
            .build_server(true)
            .compile_protos(&["proto/sine.proto"], &["proto"])?;
        println!("cargo:rerun-if-changed=proto/sine.proto");
    }
    Ok(())
}