pub mod access;
pub mod api;
#[cfg(any(not(target_arch = "wasm32"), test))]
mod build_support;
pub mod dto;
pub mod ids;
mod instructions;
mod macros; pub mod prelude;
pub mod protocol;
#[doc(hidden)]
pub mod __internal {
#[cfg(feature = "control-plane")]
pub use canic_control_plane as control_plane;
pub use canic_core as core;
pub mod instructions {
pub use crate::instructions::format_instructions;
}
}
#[doc(hidden)]
#[cfg(any(not(target_arch = "wasm32"), test))]
pub mod __build {
pub use crate::build_support::{
METRICS_TIER_CORE, METRICS_TIER_PLACEMENT, METRICS_TIER_PLATFORM, METRICS_TIER_RUNTIME,
METRICS_TIER_SECURITY, METRICS_TIER_STORAGE, declared_package_role,
emit_root_wasm_store_bootstrap_release_set, metrics_profile_tier_mask,
read_config_source_or_default,
};
}
pub use canic_cdk as cdk;
pub use canic_memory as memory;
pub use canic_core::dto::error::Error;
pub use canic_macros::{canic_query, canic_update};
pub const CRATE_NAME: &str = env!("CARGO_PKG_NAME");
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub const CANIC_WASM_CHUNK_BYTES: usize = canic_core::CANIC_WASM_CHUNK_BYTES;
pub const CANIC_DEFAULT_UPDATE_INGRESS_MAX_BYTES: usize =
canic_core::ingress::payload::DEFAULT_UPDATE_INGRESS_MAX_BYTES;