Skip to main content

nominal_api_conjure/
lib.rs

1// Bazel (build_bazel.rs) or generate-bindings (build.rs): codegen into OUT_DIR at build time
2#[cfg(all(any(bazel, feature = "generate-bindings"), not(feature = "_build")))]
3mod conjure {
4    include!(concat!(env!("OUT_DIR"), "/conjure/mod.rs"));
5}
6
7// Default Cargo: pre-generated into src/conjure/ (not active during _build pre-gen step)
8#[cfg(all(not(any(bazel, feature = "generate-bindings")), not(feature = "_build")))]
9mod conjure;
10
11#[cfg(not(feature = "_build"))]
12pub use conjure::*;