ugnos 0.6.0

A high-performance, concurrent time-series database core written in Rust, designed for efficient IoT data ingestion, real-time analytics, and monitoring.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Compiles gRPC (ugnos) and Prometheus remote-write (prompb) protos into Rust.

fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_prost_build::configure()
        .build_server(true)
        .build_client(true)
        .compile_protos(&["proto/ugnos/v1/ugnos.proto"], &["proto"])?;

    // Prometheus Remote Write: wire-format compatible protos (no gRPC).
    prost_build::compile_protos(
        &["proto/prompb/types.proto", "proto/prompb/remote.proto"],
        &["proto"],
    )?;
    Ok(())
}