# 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"
name = "ic_auth_types"
version = "0.4.4"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust types library used for integrating with IC-Auth."
readme = "README.md"
keywords = [
    "config",
    "cbor",
    "canister",
    "icp",
    "encryption",
]
categories = ["web-programming"]
license = "MIT"
repository = "https://github.com/ldclabs/ic-auth/tree/main/src/ic_auth_types"
resolver = "2"

[features]
default = []
full = ["xid"]
xid = ["dep:xid"]

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

[dependencies.base64]
version = "0.22"

[dependencies.candid]
version = "0.10"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_bytes]
version = "0.11"

[dependencies.xid]
version = "1.1"
optional = true

[dev-dependencies.ciborium]
version = "0.2"

[dev-dependencies.const-hex]
version = "1"

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