[package]
name = "rusty-commit"
version = "1.0.15"
edition = "2021"
authors = ["Rusty Commit Contributors"]
description = "Rust-powered AI commit message generator - Write impressive commits in seconds"
license = "MIT"
repository = "https://github.com/hongkongkiwi/rusty-commit"
keywords = ["git", "ai", "commit", "rust", "cli"]
categories = ["command-line-utilities", "development-tools"]
readme = "README.md"
homepage = "https://github.com/hongkongkiwi/rusty-commit"
documentation = "https://docs.rs/rusty-commit"
publish = ["crates-io"]
[[bin]]
name = "rco"
path = "src/main.rs"
[features]
default = ["openai", "anthropic", "ollama", "gemini", "azure", "perplexity", "xai"]
secure-storage = ["keyring"]
docs = []
openai = ["async-openai"]
anthropic = []
ollama = []
gemini = []
azure = []
perplexity = []
xai = ["async-openai"]
[dependencies]
clap = { version = "4.5", features = ["derive", "env"] }
colored = "3.0"
dialoguer = { version = "0.12", features = ["fuzzy-select"] }
indicatif = "0.18"
console = "0.16"
tokio = { version = "1.35", features = ["full"] }
async-trait = "0.1"
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] }
async-openai = { version = "0.32", optional = true, features = ["chat-completion"] }
backoff = { version = "0.4", features = ["tokio"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.9"
git2 = "0.20"
anyhow = "1.0"
thiserror = "2.0"
config = "0.15"
dirs = "6.0"
regex = "1.10"
once_cell = "1.19"
url = "2.5"
base64 = "0.22"
sha2 = "0.10"
tiktoken-rs = "0.9"
keyring = { version = "3.6", optional = true }
uuid = { version = "1.10", features = ["v4"] }
webbrowser = "1.0"
warp = { version = "0.4", features = ["server"] }
semver = "1.0"
which = "8.0"
tempfile = "3.9"
futures = "0.3"
flate2 = "1.0"
tar = "0.4"
zip = "7.1"
clipboard = "0.5"
rmcp = { version = "0.13.0", features = ["server"] }
serde_urlencoded = "0.7"
rand = "0.9"
openssl = { version = "0.10", features = ["vendored"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[dev-dependencies]
mockito = "1.2"
assert_cmd = "2.0"
predicates = "3.0"
proptest = "1.4"
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
strip = true