# 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 = "2021"
name = "idprova-core"
version = "0.1.1"
authors = ["Pratyush Sood <hello@techblaze.com.au>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for IDProva — AI agent identity, delegation, and audit"
homepage = "https://idprova.dev"
documentation = "https://docs.rs/idprova-core"
readme = "README.md"
keywords = [
    "identity",
    "ai-agent",
    "cryptography",
    "delegation",
    "ed25519",
]
categories = [
    "authentication",
    "cryptography",
]
license = "Apache-2.0"
repository = "https://github.com/techblaze-au/idprova"

[features]
http = ["dep:reqwest"]

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

[dependencies.base64]
version = "0.22"

[dependencies.blake3]
version = "=1.5.4"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.ed25519-dalek]
version = "=2.1.1"
features = [
    "serde",
    "rand_core",
    "zeroize",
]

[dependencies.hex]
version = "0.4"

[dependencies.ipnet]
version = "2"

[dependencies.multibase]
version = "0.9"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "blocking",
]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_json_canonicalizer]
version = "0.3"

[dependencies.sha2]
version = "=0.10.8"

[dependencies.thiserror]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.ulid]
version = "1"

[dependencies.url]
version = "2"

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
    "macros",
]
