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, build_client, build_client_as_lib};
10#[cfg(feature = "wasm-builder")]
11pub use gwasm_builder::build as build_wasm;
12pub use hex::{self};
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::{self};
19
20#[cfg(feature = "client-builder")]
21mod builder;
22pub mod calls;
23pub mod errors;
24#[cfg(not(target_arch = "wasm32"))]
25pub mod events;
26#[cfg(feature = "gclient")]
27#[cfg(not(target_arch = "wasm32"))]
28pub mod gclient;
29#[cfg(feature = "gstd")]
30pub mod gstd;
31#[cfg(feature = "gtest")]
32#[cfg(not(target_arch = "wasm32"))]
33pub mod gtest;
34#[cfg(feature = "mockall")]
35#[cfg(not(target_arch = "wasm32"))]
36pub mod mockall;
37pub mod prelude;
38#[cfg(feature = "ethexe")]
39pub mod solidity;
40mod types;
41mod utils;