rusty-commit 1.0.17

Rust-powered AI commit message generator - Write impressive commits in seconds
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "rusty-commit"
version = "1.0.17"
authors = ["Rusty Commit Contributors"]
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust-powered AI commit message generator - Write impressive commits in seconds"
homepage = "https://github.com/hongkongkiwi/rusty-commit"
documentation = "https://docs.rs/rusty-commit"
readme = "README.md"
keywords = [
    "git",
    "ai",
    "commit",
    "rust",
    "cli",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/hongkongkiwi/rusty-commit"

[features]
anthropic = []
azure = []
default = [
    "openai",
    "anthropic",
    "ollama",
    "gemini",
    "azure",
    "perplexity",
    "xai",
]
docs = []
gemini = []
ollama = []
openai = ["async-openai"]
perplexity = []
secure-storage = ["keyring"]
xai = ["async-openai"]

[lib]
name = "rusty_commit"
path = "src/lib.rs"

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

[[test]]
name = "auth_test"
path = "tests/auth_test.rs"

[[test]]
name = "cli_integration_test"
path = "tests/cli_integration_test.rs"

[[test]]
name = "cli_test"
path = "tests/cli_test.rs"

[[test]]
name = "config_test"
path = "tests/config_test.rs"

[[test]]
name = "git_test"
path = "tests/git_test.rs"

[[test]]
name = "oauth_test"
path = "tests/oauth_test.rs"

[[test]]
name = "providers_comprehensive_test"
path = "tests/providers_comprehensive_test.rs"

[[test]]
name = "providers_test"
path = "tests/providers_test.rs"

[[test]]
name = "update_test"
path = "tests/update_test.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-openai]
version = "0.32"
features = ["chat-completion"]
optional = true

[dependencies.async-trait]
version = "0.1"

[dependencies.backoff]
version = "0.4"
features = ["tokio"]

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.clipboard]
version = "0.5"

[dependencies.colored]
version = "3.0"

[dependencies.config]
version = "0.15"

[dependencies.console]
version = "0.16"

[dependencies.dialoguer]
version = "0.12"
features = ["fuzzy-select"]

[dependencies.dirs]
version = "6.0"

[dependencies.flate2]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.git2]
version = "0.20"

[dependencies.indicatif]
version = "0.18"

[dependencies.keyring]
version = "3.6"
optional = true

[dependencies.once_cell]
version = "1.19"

[dependencies.openssl]
version = "0.10"
features = ["vendored"]

[dependencies.rand]
version = "0.9"

[dependencies.regex]
version = "1.10"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
]
default-features = false

[dependencies.rmcp]
version = "0.13.0"
features = ["server"]

[dependencies.semver]
version = "1.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.sha2]
version = "0.10"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3.9"

[dependencies.thiserror]
version = "2.0"

[dependencies.tiktoken-rs]
version = "0.9"

[dependencies.tokio]
version = "1.35"
features = ["full"]

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.10"
features = ["v4"]

[dependencies.warp]
version = "0.4"
features = ["server"]

[dependencies.webbrowser]
version = "1.0"

[dependencies.which]
version = "8.0"

[dependencies.zip]
version = "7.1"

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.mockito]
version = "1.2"

[dev-dependencies.predicates]
version = "3.0"

[dev-dependencies.proptest]
version = "1.4"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true