#[cfg(not(any(feature = "conjure", feature = "tonic")))]
compile_error!("at least one of the `conjure` or `tonic` features must be enabled");
#[cfg(all(feature = "conjure", any(bazel, feature = "generate-bindings")))]
mod conjure {
include!(concat!(env!("OUT_DIR"), "/conjure/mod.rs"));
}
#[cfg(all(feature = "conjure", not(any(bazel, feature = "generate-bindings")), not(feature = "_build")))]
mod conjure;
#[cfg(all(any(bazel, feature = "generate-bindings"), feature = "tonic"))]
mod proto {
include!(concat!(env!("OUT_DIR"), "/proto/mod.rs"));
}
#[cfg(all(
not(any(bazel, feature = "generate-bindings")),
feature = "tonic",
not(feature = "_build")
))]
mod proto;
#[cfg(all(any(bazel, not(feature = "_build")), feature = "tonic"))]
pub mod tonic {
pub use crate::proto::*;
}
#[cfg(all(feature = "conjure", not(feature = "_build")))]
pub use conjure::*;