Skip to main content

canic_core/ids/
mod.rs

1//! Layer-neutral identifiers and boundary-safe primitives.
2//!
3//! This module contains:
4//! - Pure identifiers (IDs, enums, newtypes)
5//! - Boundary-safe wrappers used across ops, workflow, and API
6//!
7//! It must not contain:
8//! - Business logic
9//! - Policy decisions
10//! - Storage-backed types
11
12pub mod capability;
13pub use capability as cap;
14mod canister;
15mod endpoint;
16mod intent;
17mod metrics;
18mod network;
19mod subnet;
20
21pub use canister::CanisterRole;
22pub use endpoint::{EndpointCall, EndpointCallKind, EndpointId};
23pub use intent::IntentResourceKey;
24pub use metrics::{AccessMetricKind, SystemMetricKind};
25pub use network::BuildNetwork;
26pub use subnet::SubnetRole;