quee 0.1.0

Quee is a contract-driven message queue for distributed system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[cfg(debug_assertions)]
fn main() -> Result<(), Box<dyn std::error::Error>> {
    let should_build = std::env::var("BUILD").unwrap_or("0".into());
    if &should_build == "1" {
        tonic_build::configure()
            .build_server(false)
            .out_dir("./src")
            // .type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
            .compile(
                &["../protos/health.proto", "../protos/core.proto"],
                &["../protos"],
            )?;
    }

    Ok(())
}