[package]
edition = "2021"
rust-version = "1.82"
name = "rs-guard"
version = "1.0.0"
authors = ["Nebula Ideas <hello@nebulaideas.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI-powered code review CLI for GitHub PRs"
homepage = "https://github.com/nebulaideas/rs-guard"
documentation = "https://docs.rs/rs-guard"
readme = "README.md"
keywords = [
"ai",
"code-review",
"github",
"llm",
"cli",
]
categories = [
"development-tools",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/nebulaideas/rs-guard"
[lib]
name = "rs_guard"
path = "src/lib.rs"
[[bin]]
name = "rs-guard"
path = "src/main.rs"
[[test]]
name = "config_tests"
path = "tests/config_tests.rs"
[[test]]
name = "diff_tests"
path = "tests/diff_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "provider_tests"
path = "tests/provider_tests.rs"
[[test]]
name = "verdict_tests"
path = "tests/verdict_tests.rs"
[[bench]]
name = "verdict"
path = "benches/verdict.rs"
harness = false
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
]
[dependencies.colored]
version = "2.1"
[dependencies.env_logger]
version = "0.11"
[dependencies.hex]
version = "0.4"
[dependencies.log]
version = "0.4"
[dependencies.regex]
version = "1.11"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.42"
features = ["full"]
[dependencies.toml]
version = "0.8"
[dependencies.url]
version = "2.5"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.serial_test]
version = "3.5.0"
[dev-dependencies.tempfile]
version = "3.14"
[dev-dependencies.wiremock]
version = "0.6"
[profile.release]
opt-level = 3
lto = true
panic = "abort"
strip = true