1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
pub mod rpc;

// We don't require futures to be `Send + Sync` in a WASM context
// as it is pointless and complicated things in some cases.

#[cfg(not(target_arch = "wasm32"))]
#[path = "impls/native/mod.rs"]
#[macro_use]
pub mod impls;

#[cfg(target_arch = "wasm32")]
#[path = "impls/wasm32/mod.rs"]
#[macro_use]
pub mod impls;

pub use impls::*;