sails_rs/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#![cfg_attr(not(doctest), doc = include_str!("../README.md"))]
#![no_std]

#[cfg(feature = "mockall")]
#[cfg(not(target_arch = "wasm32"))]
extern crate std;

#[cfg(feature = "wasm-builder")]
pub use gwasm_builder::build as build_wasm;
pub use hex::{self};
pub use prelude::*;
#[cfg(feature = "idl-gen")]
#[cfg(not(target_arch = "wasm32"))]
pub use sails_idl_gen::{generate_idl, generate_idl_to_file};
pub use sails_idl_meta::{self as meta};
pub use spin::{self};

pub mod calls;
pub mod errors;
#[cfg(not(target_arch = "wasm32"))]
pub mod events;
#[cfg(feature = "gclient")]
#[cfg(not(target_arch = "wasm32"))]
pub mod gclient;
#[cfg(feature = "gstd")]
pub mod gstd;
#[cfg(feature = "gtest")]
#[cfg(not(target_arch = "wasm32"))]
pub mod gtest;
#[cfg(feature = "mockall")]
#[cfg(not(target_arch = "wasm32"))]
pub mod mockall;
pub mod prelude;
mod types;