File: build.rs

package info (click to toggle)
rust-prometheus-client 0.22.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 608 kB
  • sloc: makefile: 2
file content (11 lines) | stat: -rw-r--r-- 232 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
use std::io::Result;

fn main() -> Result<()> {
    #[cfg(feature = "protobuf")]
    prost_build::compile_protos(
        &["src/encoding/proto/openmetrics_data_model.proto"],
        &["src/encoding/proto/"],
    )?;

    Ok(())
}