backproof-sdk 0.1.1

Rust SDK to communicate with the backproof service
Documentation
1
2
3
4
5
6
7
8
9
10
use std::path::PathBuf;

fn main() {
    let cwd = std::env::var("CARGO_MANIFEST_DIR").unwrap();

    let cwd = PathBuf::from(cwd);

    tonic_build::compile_protos(cwd.join("./proto/backproof.proto"))
        .unwrap_or_else(|e| panic!("Failed to compile protos {:?}", e));
}