1pub mod exts;
2pub mod cred;
3pub mod signed;
4pub mod errors;
5
6pub mod exp;
11
12#[cfg(not(feature = "wasm"))]
14mod ts;
15#[cfg(not(feature = "wasm"))]
16mod bin;
17#[cfg(not(feature = "wasm"))]
18mod uint;
19
20
21#[cfg_attr(feature="wasm", derive(serde::Deserialize))]
22pub struct ContractVersion {
23 pub contract: crate::String,
24 pub version: crate::String,
25}
26
27
28
29pub mod binary {
30 #[cfg(not(feature = "wasm"))]
31 pub use super::bin::{Binary, to_json_binary, from_json, to_json_string};
32 #[cfg(feature = "wasm")]
33 pub use crate::wasm::{Binary, to_json_binary, from_json, to_json_string};
34}
35
36
37pub mod timestamp {
38 #[cfg(not(feature = "wasm"))]
39 pub use super::ts::Timestamp;
40 #[cfg(feature = "wasm")]
41 pub use crate::wasm::Timestamp;
42}
43
44
45
46pub mod uints {
47 #[cfg(not(feature = "wasm"))]
48 pub use super::uint::{Uint128, Uint64};
49 #[cfg(feature = "wasm")]
50 pub use crate::wasm::{Uint128, Uint64};
51}