ic-platform-types 0.18.0

Stable owned IC Principal and Account identities
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.99.1"
name = "ic-platform-types"
version = "0.18.0"
build = false
include = [
    "src/**",
    "README.md",
    "LICENSE",
    "Cargo.toml",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stable owned IC Principal and Account identities"
readme = "README.md"
license = "MIT AND Apache-2.0"
repository = "https://github.com/dragginzgame/ic-platform"

[features]
default = []
principal-external = ["dep:ic_principal"]
principal-self-authenticating = ["dep:sha2_11"]

[lib]
name = "ic_platform_types"
path = "src/lib.rs"

[dependencies.crc32fast]
version = "1.5"

[dependencies.data-encoding]
version = "2.11"

[dependencies.ic_principal]
version = "0.1.5"
features = ["convert"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]
default-features = false

[dependencies.serde_bytes]
version = "0.11"

[dependencies.sha2_11]
version = "0.11.1"
optional = true
default-features = false
package = "sha2"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.ic_principal]
version = "0.1.5"
features = [
    "convert",
    "self_authenticating",
]
default-features = false

[dev-dependencies.postcard]
version = "1.1.3"
features = ["alloc"]
default-features = false

[dev-dependencies.serde_cbor]
version = "0.11.2"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.serde_test]
version = "1.0.177"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"