// 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::*;
