mod conjure {
    include!(concat!(env!("OUT_DIR"), "/conjure/mod.rs"));
}

// Bazel: proto stubs generated by build_bazel.rs from descriptor set into OUT_DIR
#[cfg(all(bazel, feature = "tonic"))]
mod proto {
    include!(concat!(env!("OUT_DIR"), "/proto/mod.rs"));
}

// Cargo: proto stubs pre-generated into src/proto/ by compile-protos binary
#[cfg(all(not(bazel), feature = "tonic", not(feature = "_build")))]
mod proto;

#[cfg(all(any(bazel, not(feature = "_build")), feature = "tonic"))]
pub mod tonic {
    pub use crate::proto::*;
}

pub use conjure::*;
