ic-platform-types 0.21.1

Canonical IC identity types for the Platform rebuild
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Canonical owned IC Principal, Account and Subaccount identities.
//!
//! Byte/text admission, ordering and Serde belong here. Self-authentication is
//! opt-in and delegates SHA-224 to its upstream supplier. Consumers must select
//! one Cargo source/version cohort when exchanging these public Rust types.
//! Identity validity establishes neither authorization nor authenticated evidence.

#![forbid(unsafe_code)]

pub mod account;
pub mod principal;
pub use account::{Account, AccountError, DEFAULT_SUBACCOUNT, Subaccount};
pub use principal::{Principal, PrincipalError};