# 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"
rust-version = "1.80"
name = "hestia"
version = "0.0.2"
authors = ["dp-web4 <dp@metalinxx.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hestia — local-first Web4 trust layer for AI agents. The core daemon: credential vault, MCP server, society state, witness chain."
documentation = "https://github.com/dp-web4/hestia"
readme = false
keywords = [
    "hestia",
    "web4",
    "ai-agent",
    "vault",
    "mcp",
]
categories = [
    "cryptography",
    "authentication",
    "command-line-utilities",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/dp-web4/hestia"

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

[[bin]]
name = "hestia"
path = "src/main.rs"

[[test]]
name = "persistence"
path = "tests/persistence.rs"

[dependencies.anyhow]
version = "1"

[dependencies.argon2]
version = "0.5"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.7"

[dependencies.chacha20poly1305]
version = "0.10"

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

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.crossterm]
version = "0.28"

[dependencies.dirs]
version = "5"

[dependencies.rand]
version = "0.8"

[dependencies.ratatui]
version = "0.28"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "blocking",
    "rustls-tls",
]
default-features = false

[dependencies.rmcp]
version = "1.7"
features = [
    "server",
    "transport-streamable-http-server",
]
default-features = false

[dependencies.rpassword]
version = "7"

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "fs",
    "net",
    "signal",
]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.web4-trust-core]
version = "0.2"
features = ["file-store"]

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

[dev-dependencies.tempfile]
version = "3"
