sails_rs/
lib.rs

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