vyn-relay 0.1.4

gRPC relay server library for vyn with optional S3 mirroring
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fn main() {
    let protoc = protoc_bin_vendored::protoc_bin_path().expect("failed to locate vendored protoc");
    unsafe {
        std::env::set_var("PROTOC", protoc);
    }

    println!("cargo:rerun-if-changed=proto/vyn.proto");

    tonic_build::configure()
        .build_server(true)
        .build_client(true)
        .compile_protos(&["proto/vyn.proto"], &["proto"])
        .expect("failed to compile protobuf definitions");
}