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