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 = "cloud-engine")]
12pub mod cloud_engine;
13
14#[cfg(any(feature = "cloud-engine-response", feature = "management-chunks"))]
15pub mod candid;
16
17#[cfg(feature = "management-chunks")]
18pub mod management_chunks;
19
20#[cfg(feature = "registry-settings")]
21pub mod registry_settings;
22
23#[cfg(feature = "http-request")]
24pub mod http_request;
25
26#[cfg(feature = "registry")]
27pub mod registry;
28
29#[cfg(feature = "registry-placement")]
30pub mod placement;
31
32#[cfg(feature = "raw-rand")]
33pub mod raw_rand;