[package]
name = "idprova-core"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
documentation = "https://docs.rs/idprova-core"
authors.workspace = true
keywords = ["identity", "ai-agent", "cryptography", "delegation", "ed25519"]
categories = ["authentication", "cryptography"]
readme = "README.md"
description = "Core library for IDProva — AI agent identity, delegation, and audit"

[dependencies]
# Crypto
ed25519-dalek.workspace = true
blake3.workspace = true
sha2.workspace = true
rand.workspace = true
zeroize.workspace = true

# Serialization
serde.workspace = true
serde_json.workspace = true
serde_json_canonicalizer.workspace = true
base64.workspace = true
multibase.workspace = true

# Time
chrono.workspace = true

# Error handling
thiserror.workspace = true

# Unique IDs
ulid.workspace = true

# Hex encoding
hex.workspace = true

# Network
ipnet.workspace = true
url.workspace = true
reqwest = { workspace = true, optional = true }

# Logging
tracing.workspace = true

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

[dev-dependencies]
proptest.workspace = true
tokio = { workspace = true, features = ["test-util", "macros"] }
