nominal-api-conjure 0.1452.0

Conjure HTTP API bindings for the Nominal platform
Documentation
// The compute API series unions are mutually recursive, so their derived `Ord::cmp`
// bodies form a large call cycle. rustc bounds the MIR inliner's cycle detection by the
// crate recursion limit, and at the default (128) it fails to see the cycle and reports
// E0391 in optimized builds.
#![recursion_limit = "1024"]

// Bazel (build_bazel.rs) or generate-bindings (build.rs): codegen into OUT_DIR at build time
#[cfg(all(any(bazel, feature = "generate-bindings"), not(feature = "_build")))]
mod conjure {
    include!(concat!(env!("OUT_DIR"), "/conjure/mod.rs"));
}

// Default Cargo: pre-generated into src/conjure/ (not active during _build pre-gen step)
#[cfg(all(
    not(any(bazel, feature = "generate-bindings")),
    not(feature = "_build")
))]
mod conjure;

#[cfg(not(feature = "_build"))]
pub use conjure::*;