# 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 = "agnix-cli"
version = "0.37.1"
authors = ["Avi Fenesh <avifenesh@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI for agnix - agent config linter"
homepage = "https://github.com/agent-sh/agnix"
readme = "README.md"
keywords = [
    "agent",
    "linter",
    "cli",
    "claude",
    "mcp",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/agent-sh/agnix"
resolver = "2"

[features]
default = []
telemetry = ["dep:reqwest"]

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

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

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

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

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

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

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

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

[dependencies.agnix-core]
version = "0.37.1"

[dependencies.agnix-rules]
version = "0.37.1"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "cargo",
]

[dependencies.colored]
version = "3.1.1"

[dependencies.ctrlc]
version = "3"

[dependencies.dirs]
version = "6"

[dependencies.notify]
version = "8"
features = ["macos_fsevent"]

[dependencies.notify-debouncer-mini]
version = "0.7"

[dependencies.reqwest]
version = "0.13"
features = [
    "blocking",
    "json",
]
optional = true

[dependencies.rust-i18n]
version = "4.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.similar]
version = "3"

[dependencies.sys-locale]
version = "0.3"

[dependencies.toml]
version = "1.0"

[dependencies.tracing]
version = "0.1"

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

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

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

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

[dev-dependencies.regex]
version = "1"

[dev-dependencies.serde_yaml]
version = "0.9"

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

[target.'cfg(target_os = "linux")'.dependencies.mimalloc]
version = "0.1"
default-features = false
