nominal-api 0.1291.0

API bindings for the Nominal platform
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// compile_error if both conjure and tonic are disabled — the crate would be empty
#[cfg(not(any(feature = "conjure", feature = "tonic")))]
compile_error!("at least one of the `conjure` or `tonic` features must be enabled");

// Re-export proto types under `tonic` for backward compatibility with `nominal_api::tonic::...`
#[cfg(feature = "tonic")]
pub mod tonic {
    pub use nominal_api_proto::*;
}

#[cfg(feature = "conjure")]
pub use nominal_api_conjure::*;