rusty-commit 1.0.17

Rust-powered AI commit message generator - Write impressive commits in seconds
[package]
name = "rusty-commit"
version = "1.0.17"
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 to crates.io
publish = ["crates-io"]

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

[features]
default = ["openai", "anthropic", "ollama", "gemini", "azure", "perplexity", "xai"]
# Enable secure storage for API keys (requires system keychain)
secure-storage = ["keyring"]
# Include extra documentation (for docs.rs)
docs = []

# AI Provider features
openai = ["async-openai"]
anthropic = []
ollama = []
gemini = []
azure = []
perplexity = []
xai = ["async-openai"]

[dependencies]
# CLI and UI
clap = { version = "4.5", features = ["derive", "env"] }
colored = "3.0"
dialoguer = { version = "0.12", features = ["fuzzy-select"] }
indicatif = "0.18"
console = "0.16"

# Async runtime
tokio = { version = "1.35", features = ["full"] }
async-trait = "0.1"

# HTTP and API clients
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"] }

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.9"

# Git operations
git2 = "0.20"

# Error handling
anyhow = "1.0"
thiserror = "2.0"

# Configuration
config = "0.15"
dirs = "6.0"

# Utilities
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"

# MCP (Model Context Protocol) support
rmcp = { version = "0.13.0", features = ["server"] }
serde_urlencoded = "0.7"
rand = "0.9"

# OpenSSL for static musl/Alpine builds
openssl = { version = "0.10", features = ["vendored"] }

# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# Testing
[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