agentnative 0.1.2

The agent-native CLI linter — check whether your CLI follows agent-readiness principles
# 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.87"
name = "agentnative"
version = "0.1.2"
authors = ["Brett Davies <pm8fp22mbg@privaterelay.appleid.com>"]
build = false
exclude = [
    ".claude/",
    ".context/",
    ".github/",
    ".markdownlint-cli2.yaml",
    "cliff.toml",
    "deny.toml",
    "docs/",
    "rustfmt.toml",
    "scripts/",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The agent-native CLI linter — check whether your CLI follows agent-readiness principles"
homepage = "https://anc.dev"
documentation = "https://docs.rs/agentnative"
readme = "README.md"
keywords = [
    "cli",
    "linter",
    "agent",
    "ast-grep",
    "developer-tools",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/brettdavies/agentnative-cli"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/agentnative-{ target }.tar.gz"
pkg-fmt = "tgz"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/agentnative-{ target }.zip"
pkg-fmt = "zip"

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

[dependencies.anyhow]
version = "1"

[dependencies.ast-grep-core]
version = "=0.42.0"

[dependencies.ast-grep-language]
version = "=0.42.0"
features = [
    "tree-sitter-rust",
    "tree-sitter-python",
]
default-features = false

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

[dependencies.clap_complete]
version = "4"

[dependencies.libc]
version = "0.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

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

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

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

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true