canic_core/cdk/spec/mod.rs
1//! Module: cdk::spec
2//!
3//! Responsibility: canonical representations of external IC specs.
4//! Does not own: business interpretation of ICRC, NNS, or ledger behavior.
5//! Boundary: corrals verbose Candid bindings behind consistently named wrappers.
6
7pub mod standards;
8
9/// Shared imports for spec modules so type definitions stay concise.
10pub mod prelude {
11 pub use crate::cdk::{
12 candid::{CandidType, Principal},
13 types::{Account, Int, Nat, Subaccount},
14 };
15 pub use serde::{Deserialize, Serialize};
16 pub use serde_bytes::ByteBuf;
17}