[dependencies.arbitrary]
optional = true
version = "1.3"
[dependencies.crc32fast]
optional = true
version = "1.3.0"
[dependencies.data-encoding]
optional = true
version = "2.3.2"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0.115"
[dependencies.sha2]
optional = true
version = "0.10.1"
[dependencies.thiserror]
optional = true
version = "1.0.30"
[dev-dependencies.impls]
version = "1"
[dev-dependencies.serde_cbor]
version = "0.11.2"
[dev-dependencies.serde_json]
version = "1.0.74"
[dev-dependencies.serde_test]
version = "1.0.137"
[features]
all = ["arbitrary", "default"]
arbitrary = ["dep:arbitrary", "serde"]
convert = ["dep:crc32fast", "dep:data-encoding", "dep:thiserror"]
default = ["convert", "self_authenticating", "serde"]
self_authenticating = ["dep:sha2"]
serde = ["dep:serde", "convert"]
[package]
authors = ["DFINITY Stiftung <sdk@dfinity.org>"]
categories = ["data-structures", "no-std"]
description = "Principal type used on the Internet Computer."
documentation = "https://docs.rs/ic_principal"
edition = "2021"
homepage = "https://internetcomputer.org/docs/current/references/id-encoding-spec"
include = ["src", "Cargo.toml", "LICENSE", "README.md"]
keywords = ["internet-computer", "types", "dfinity"]
license = "Apache-2.0"
name = "ic_principal"
readme = "README.md"
repository = "https://github.com/dfinity/candid"
version = "0.1.1"