road-runner-common 0.15.0

Shared Rust utilities for exchange ecosystem backend services.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() -> Result<(), Box<dyn std::error::Error>> {
    #[cfg(feature = "governance")]
    {
        println!("cargo:rerun-if-changed=proto/policy_internal.proto");
        tonic_build::configure()
            .build_server(false)
            .build_client(true)
            .compile_protos(&["proto/policy_internal.proto"], &["proto"])?;
    }

    Ok(())
}