nominal-api-proto 0.1283.0

Protobuf/gRPC API bindings for the Nominal platform
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Bazel (build_bazel_proto.rs) or generate-bindings (build.rs): codegen into OUT_DIR at build time
#[cfg(all(any(bazel, feature = "generate-bindings"), not(feature = "_build")))]
mod proto {
    include!(concat!(env!("OUT_DIR"), "/proto/mod.rs"));
}

// Default Cargo: pre-generated into src/proto/ (not active during _build pre-gen step)
#[cfg(all(not(any(bazel, feature = "generate-bindings")), not(feature = "_build")))]
mod proto;

#[cfg(any(bazel, not(feature = "_build")))]
pub use proto::*;