Skip to main content

canic_core/ids/
mod.rs

1//! Module: ids
2//!
3//! Responsibility: layer-neutral identifiers and boundary-safe primitives.
4//! Does not own: business logic, policy decisions, or storage-backed types.
5//! Boundary: exposes pure IDs, enums, and newtypes across ops, workflow, and API.
6
7mod app;
8mod build_network;
9mod canister;
10pub mod capability;
11mod component;
12mod component_deployment;
13mod endpoint;
14mod fleet;
15mod fleet_topology;
16mod intent;
17mod metrics;
18mod network;
19mod release_build;
20mod release_set;
21mod subnet;
22
23pub use app::AppId;
24pub use build_network::BuildNetwork;
25pub use canister::CanisterRole;
26pub use capability as cap;
27pub use component::{
28    ComponentInstanceId, ComponentInstanceIdParseError, ComponentSpecId, ComponentSpecIdParseError,
29};
30pub use component_deployment::{
31    COMPONENT_GROUP_MEMBER_PATH_MAX_SEGMENTS, ComponentDeploymentConfigurationDigest,
32    ComponentDeploymentIdParseError, ComponentGroupDeploymentId, ComponentGroupMemberId,
33    ComponentGroupMemberPath, ComponentGroupMemberPathError, ComponentGroupPlacementId,
34    ComponentGroupSpecId, FleetServiceId,
35};
36pub use endpoint::{EndpointCall, EndpointCallKind, EndpointId};
37pub use fleet::{
38    FleetBinding, FleetId, FleetIdParseError, FleetKey, FleetName, FleetNameParseError,
39};
40pub use fleet_topology::{
41    ComponentBinding, ComponentChildBinding, ComponentSpecAdmission, ComponentTopologyDigest,
42    CyclesFundingBudget, FleetCoordinatorBinding, FleetRegistryAuthority,
43    FleetSubnetCanisterPoolConfig, FleetSubnetRootBinding, FleetSubnetRootLimits,
44    FleetSubnetWasmStoreAuthority, ManagedCanisterBinding,
45};
46pub use intent::{IntentId, IntentResourceKey};
47pub use metrics::{AccessMetricKind, SystemMetricKind};
48pub use network::{
49    CanonicalNetworkId, CanonicalNetworkIdParseError, CanonicalNetworkTrustAnchorError,
50};
51pub use release_build::{
52    RELEASE_BUILD_ID_ENV, ReleaseBuildId, ReleaseBuildIdParseError, ReleaseBuildNonce,
53};
54pub use release_set::{FleetSubnetRootReleaseSet, ReleaseSetDigest};
55pub use subnet::SubnetId;