# 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.93"
name = "jacs-mcp"
version = "0.9.4"
authors = ["JACS Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MCP server for JACS: data provenance and cryptographic signing of agent state"
homepage = "https://humanassisted.github.io/JACS"
readme = "README.md"
keywords = [
    "mcp",
    "jacs",
    "ai",
    "agents",
    "signing",
]
categories = [
    "cryptography",
    "development-tools",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/HumanAssisted/JACS"

[features]
a2a-tools = ["jacs/a2a"]
agreement-tools = ["jacs/agreements"]
attestation = [
    "jacs/attestation",
    "jacs-binding-core/attestation",
]
attestation-tools = ["attestation"]
audit-tools = []
core-tools = [
    "state-tools",
    "document-tools",
    "trust-tools",
    "audit-tools",
    "memory-tools",
    "search-tools",
    "key-tools",
]
default = [
    "mcp",
    "attestation",
    "core-tools",
]
document-tools = []
full-tools = [
    "core-tools",
    "agreement-tools",
    "messaging-tools",
    "a2a-tools",
    "attestation-tools",
]
key-tools = []
mcp = [
    "dep:rmcp",
    "dep:tokio",
]
memory-tools = []
messaging-tools = []
search-tools = []
state-tools = []
trust-tools = []

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

[[bin]]
name = "jacs-mcp"
path = "src/main.rs"

[[example]]
name = "print_contract"
path = "examples/print_contract.rs"

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.jacs]
version = "0.9.4"
default-features = true

[dependencies.jacs-binding-core]
version = "0.9.4"
features = ["a2a"]

[dependencies.rmcp]
version = "0.12"
features = [
    "client",
    "server",
    "transport-io",
    "transport-child-process",
    "macros",
]
optional = true

[dependencies.schemars]
version = "1.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10.8"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "process",
    "time",
]
optional = true

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3.1"

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