1#![cfg_attr(not(doctest), doc = include_str!("../README.md"))]
2#![no_std]
3
4#[cfg(all(feature = "std", not(target_arch = "wasm32")))]
5extern crate std;
6
7#[cfg(feature = "client-builder")]
8pub use builder::{ClientBuilder, ClientGenerator, IdlPath, build_client, build_client_as_lib};
9#[cfg(feature = "wasm-builder")]
10pub use gwasm_builder::build as build_wasm;
11pub use hex;
12#[doc(hidden)]
13pub use paste;
14pub use prelude::*;
15#[cfg(feature = "idl-embed")]
16pub use sails_idl_embed::{embed_idl, embed_idl_to_file, extract_idl, extract_idl_from_file};
17#[cfg(all(feature = "idl-gen", not(target_arch = "wasm32")))]
18pub use sails_idl_gen::generate_idl;
19#[cfg(all(feature = "idl-gen", feature = "std", not(target_arch = "wasm32")))]
20pub use sails_idl_gen::generate_idl_to_file;
21pub use sails_idl_meta::{self as meta};
22pub use spin;
23
24#[cfg(feature = "client-builder")]
25mod builder;
26#[cfg(any(
27 feature = "gstd",
28 all(feature = "gtest", not(target_arch = "wasm32")),
29 all(feature = "gsdk", not(target_arch = "wasm32"))
30))]
31pub mod client;
32pub mod errors;
33#[cfg(all(feature = "gsdk", not(target_arch = "wasm32")))]
34pub use gsdk;
35#[cfg(feature = "gstd")]
36pub mod gstd;
37#[cfg(all(feature = "gtest", not(target_arch = "wasm32")))]
38pub use gtest;
39#[cfg(all(feature = "mockall", not(target_arch = "wasm32")))]
40pub use mockall;
41#[cfg(feature = "ethexe")]
42mod address;
43pub mod prelude;
44#[cfg(feature = "ethexe")]
45pub mod solidity;
46pub mod state;
47mod types;
48mod utils;