ic-platform 0.26.1

Controlled Candid and IC runtime dependency boundary
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Explicit upstream configuration and staged decoding for existing caller policy.
//!
//! Unlike Platform's finite-limit helpers, these APIs require an explicit upstream
//! configuration or staged decoder. Optional quotas/header configuration and
//! diagnostic selection remain caller-owned and unchanged.
//! Callers own byte admission, stage error mapping, canonical re-encoding,
//! diagnostics disclosure and separate construction/value/finalization/drop
//! observations. No wrapper merges stages or supplies automatic limits.
//! Unconfigured `decode_one` and `decode_args` shortcuts are not exposed here.
//! The parent module's same-named helpers require explicit finite limits.

pub use candid::de::{DecoderConfig, IDLDeserialize};
pub use candid::utils::{decode_args_with_config, decode_one_with_config};