# 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.96"
name = "kintsugi-intercept"
version = "0.1.3"
authors = ["arrowassassin"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Kintsugi interception adapters: the $PATH shim, the Claude Code hook bridge, and the kintsugi-exec MCP server. All normalize to one ProposedCommand."
homepage = "https://arrowassassin.github.io/kintsugi/"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "safety",
    "security",
    "audit",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/arrowassassin/kintsugi"

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

[[bin]]
name = "hook"
path = "src/bin/hook.rs"

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

[[bin]]
name = "shim"
path = "src/bin/shim.rs"

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

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.interprocess]
version = "2.4.2"

[dependencies.kintsugi-core]
version = "0.1.0"

[dependencies.kintsugi-daemon]
version = "0.1.0"

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.time]
version = "0.3.49"
features = [
    "serde",
    "serde-well-known",
    "formatting",
    "parsing",
    "macros",
]

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

[dev-dependencies.kintsugi-core]
version = "0.1.0"

[dev-dependencies.kintsugi-daemon]
version = "0.1.0"

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