Skip to main content

ic_platform_protocol/
lib.rs

1//! Bounded external protocol formats, independent of transport and execution.
2//!
3//! Capabilities are explicit; default features are empty. The initial
4//! `cloud-engine` capability encodes requests only. `cloud-engine-response` adds
5//! bounded selected response decoding and canonical identities. `http-request`
6//! encodes a narrow management HTTP GET argument without a codec dependency.
7//! This package does not replace the complete legacy Platform surface.
8
9#![forbid(unsafe_code)]
10
11#[cfg(feature = "caffeine")]
12pub mod caffeine;
13
14#[cfg(feature = "cloud-engine")]
15pub mod cloud_engine;
16
17#[cfg(any(
18    feature = "cloud-engine-response",
19    feature = "management-chunks",
20    feature = "management-snapshots",
21    feature = "caffeine"
22))]
23pub mod candid;
24
25#[cfg(feature = "management-snapshots")]
26pub mod management_snapshots;
27
28#[cfg(feature = "management-chunks")]
29pub mod management_chunks;
30
31#[cfg(feature = "registry-settings")]
32pub mod registry_settings;
33
34#[cfg(feature = "http-request")]
35pub mod http_request;
36
37#[cfg(feature = "registry")]
38pub mod registry;
39
40#[cfg(feature = "registry-placement")]
41pub mod placement;
42
43#[cfg(feature = "raw-rand")]
44pub mod raw_rand;