Skip to main content

greentic_interfaces/
lib.rs

1#![deny(unsafe_code)]
2#![warn(missing_docs, clippy::unwrap_used, clippy::expect_used)]
3#![doc = include_str!("../README.md")]
4
5//! ABI-oriented bindings for Greentic WIT packages.
6
7#[cfg(not(target_arch = "wasm32"))]
8pub mod bindings;
9#[cfg(not(target_arch = "wasm32"))]
10pub mod wit_all;
11#[cfg(all(
12    feature = "bindings-rust",
13    feature = "provider-common",
14    not(target_arch = "wasm32")
15))]
16pub use bindings::provider_common_0_0_2_common;
17#[cfg(not(target_arch = "wasm32"))]
18#[allow(unused_imports)]
19pub use wit_all::*;
20#[cfg(all(feature = "bindings-rust", not(target_arch = "wasm32")))]
21pub mod mappers;
22#[cfg(all(feature = "bindings-rust", not(target_arch = "wasm32")))]
23pub mod validate;