canic_types/
lib.rs

1//! Shared type wrappers and aliases used across the ops and endpoint layers.
2//!
3//! These helpers centralize candid-friendly structs plus bounded/principal
4//! utilities so consumers can `use canic::core::types::*` without reaching into
5//! submodules.
6
7pub use canic_cdk as cdk;
8pub use canic_utils as utils;
9pub use canic_utils::macros::*;
10
11mod account;
12mod cycles;
13mod page;
14mod string;
15mod ulid;
16mod wasm;
17
18pub use account::*;
19pub use cycles::*;
20pub use page::*;
21pub use string::*;
22pub use ulid::*;
23pub use wasm::*;
24
25// common aliases
26pub use canic_cdk::candid::{Int, Nat, Principal};
27pub use serde_bytes::ByteBuf;