[package]
edition = "2024"
rust-version = "1.88"
name = "drep-ai"
version = "3.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A local commit gate: runs the linters your repo configures, and sends changed code to an LLM for review"
homepage = "https://github.com/slb350/drep"
readme = "README.md"
keywords = [
"code-review",
"linter",
"pre-commit",
"llm",
"static-analysis",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/slb350/drep"
[lib]
name = "drep"
path = "src/lib.rs"
[[bin]]
name = "drep"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "ground_truth_walk"
path = "tests/ground_truth_walk.rs"
[[test]]
name = "init_without_a_terminal"
path = "tests/init_without_a_terminal.rs"
[[test]]
name = "published_hooks"
path = "tests/published_hooks.rs"
[[test]]
name = "real_tool_output"
path = "tests/real_tool_output.rs"
[[test]]
name = "release_config"
path = "tests/release_config.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.blake3]
version = "1.8"
[dependencies.clap]
version = "4.6"
features = ["derive"]
[dependencies.directories]
version = "6.0"
[dependencies.fs2]
version = "0.4.3"
[dependencies.futures]
version = "0.3"
[dependencies.ignore]
version = "0.4"
[dependencies.open-agent-sdk]
version = "0.11.2"
[dependencies.regex]
version = "1.13"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"gzip",
]
[dependencies.rpassword]
version = "7.5"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tempfile]
version = "3.27"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.53"
features = [
"io-util",
"process",
"rt-multi-thread",
"macros",
"time",
]
[dependencies.toml]
version = "1.1"
[dev-dependencies.assert_cmd]
version = "2.2"
[dev-dependencies.serde_yaml_ng]
version = "0.10.0"
[dev-dependencies.wiremock]
version = "0.6"
[target.'cfg(all(target_os = "linux", target_arch = "aarch64"))'.dependencies.reqwest]
version = "0.12"
features = ["native-tls-vendored"]
[lints.clippy.all]
level = "deny"
priority = -1
[lints.rust]
warnings = "deny"
[profile.dist]
inherits = "release"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true