# 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"
name = "defect-tools"
version = "0.1.0-alpha.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Built-in tool implementations (filesystem, shell, subagents, skills) for the defect agent."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/vast-enterprise/defect"

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

[dependencies.agent-client-protocol-schema]
version = "=0.13.2"
features = ["tracing"]

[dependencies.base64]
version = "0.22"

[dependencies.defect-agent]
version = "0.1.0-alpha.2"

[dependencies.defect-config]
version = "0.1.0-alpha.2"

[dependencies.futures]
version = "0.3"

[dependencies.globset]
version = "0.4"

[dependencies.grep-matcher]
version = "0.1"

[dependencies.grep-regex]
version = "0.1"

[dependencies.grep-searcher]
version = "0.1"

[dependencies.htmd]
version = "0.5"

[dependencies.ignore]
version = "0.4"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
    "io-std",
    "sync",
    "fs",
    "process",
    "signal",
    "time",
    "process",
    "io-util",
    "time",
    "macros",
    "sync",
    "rt",
]

[dependencies.tokio-util]
version = "0.7"
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.defect-http]
version = "0.1.0-alpha.2"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "io-util",
    "io-std",
    "sync",
    "fs",
    "process",
    "signal",
    "time",
    "process",
    "io-util",
    "time",
    "macros",
    "sync",
    "rt",
    "rt-multi-thread",
    "test-util",
]

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
too_many_arguments = "deny"
