[package]
edition = "2021"
rust-version = "1.75"
name = "agent-policy"
version = "0.2.0"
authors = ["Cameron Brooks <cameron@cameronbrooks.ca>"]
build = false
exclude = [
"docs/",
".github/",
"scratch/",
"tmp/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Schema-first generator for coding-agent repo policies and compatibility files."
homepage = "https://github.com/CameronBrooks11/agent-policy"
documentation = "https://docs.rs/agent-policy"
readme = "README.md"
keywords = [
"agent",
"policy",
"codegen",
"cli",
"llm",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/CameronBrooks11/agent-policy"
[lib]
name = "agent_policy"
path = "src/lib.rs"
[[bin]]
name = "agent-policy"
path = "src/main.rs"
[[test]]
name = "check"
path = "tests/check.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "schema"
path = "tests/schema.rs"
[dependencies.anyhow]
version = "1"
[dependencies.camino]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.globset]
version = "0.4"
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.jsonschema]
version = "0.44"
[dependencies.minijinja]
version = "2"
features = ["loader"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.similar]
version = "2"
[dependencies.thiserror]
version = "2"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.insta]
version = "1"
features = ["yaml"]
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.tempfile]
version = "3"
[profile.dist]
lto = "thin"
inherits = "release"