1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//! Canic facade crate.
//!
//! This crate is the recommended dependency for downstream canister projects. It
//! re-exports the public Canic runtime surface and provides the common macro entry points:
//!
//! - `build!` for configured canisters and generated local sandbox/probe config
//! - `start!` for `lib.rs` (wire lifecycle hooks and export endpoints)
//!
//! For lower-level access, use the `api`, `cdk`, and `memory` modules.
//! Direct access to internal core modules is intentionally unsupported.
// private implementation boundary
// -----------------------------------------------------------------------------
// Sub-crates
// -----------------------------------------------------------------------------
pub use cdk;
pub use memory;
// -----------------------------------------------------------------------------
// Re-exports
// -----------------------------------------------------------------------------
pub use Error;
pub use ;
pub use ;
// -----------------------------------------------------------------------------
// Constants
// -----------------------------------------------------------------------------
pub const CRATE_NAME: &str = env!;
pub const VERSION: &str = env!;
pub const CANIC_WASM_CHUNK_BYTES: usize = CANIC_WASM_CHUNK_BYTES;
pub const CANIC_DEFAULT_UPDATE_INGRESS_MAX_BYTES: usize =
DEFAULT_UPDATE_INGRESS_MAX_BYTES;