prometheus 0.5.0

Prometheus instrumentation library for Rust applications.
Documentation
#[cfg(feature = "gen")]
extern crate protobuf_codegen_pure;

#[cfg(feature = "gen")]
fn generate_protobuf_binding_file() {
    protobuf_codegen_pure::run(protobuf_codegen_pure::Args {
        out_dir: "proto",
        input: &["proto/metrics.proto"],
        includes: &["proto"],
        ..Default::default()
    })
    .unwrap();
}

#[cfg(not(feature = "gen"))]
fn generate_protobuf_binding_file() {}

fn main() {
    generate_protobuf_binding_file()
}