[package]
edition = "2024"
rust-version = "1.85"
name = "commitbee"
version = "0.2.0"
build = false
exclude = [
".github/",
"tests/snapshots/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI-powered commit message generator using tree-sitter semantic analysis and local LLMs"
readme = "README.md"
keywords = [
"git",
"commit-message",
"conventional-commits",
"tree-sitter",
"llm",
]
categories = [
"development-tools",
"command-line-utilities",
]
license = "PolyForm-Noncommercial-1.0.0"
repository = "https://github.com/Sephyi/commitbee"
[features]
default = []
secure-storage = ["keyring"]
[lib]
name = "commitbee"
path = "src/lib.rs"
[[bin]]
name = "commitbee"
path = "src/main.rs"
[[test]]
name = "analyzer"
path = "tests/analyzer.rs"
[[test]]
name = "commit_type"
path = "tests/commit_type.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "context"
path = "tests/context.rs"
[[test]]
name = "helpers"
path = "tests/helpers.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "safety"
path = "tests/safety.rs"
[[test]]
name = "sanitizer"
path = "tests/sanitizer.rs"
[[test]]
name = "splitter"
path = "tests/splitter.rs"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"env",
]
[dependencies.clap_complete]
version = "4.5"
[dependencies.console]
version = "0.16"
[dependencies.dialoguer]
version = "0.12"
[dependencies.directories]
version = "6.0"
[dependencies.figment]
version = "0.10"
features = [
"toml",
"env",
]
[dependencies.gix]
version = "0.78"
features = ["revision"]
default-features = false
[dependencies.indicatif]
version = "0.18"
[dependencies.keyring]
version = "3"
optional = true
[dependencies.miette]
version = "7.6"
features = ["fancy"]
[dependencies.regex]
version = "1.12"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"stream",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.43"
features = [
"rt-multi-thread",
"macros",
"signal",
"sync",
"process",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tokio-util]
version = "0.7"
[dependencies.toml]
version = "0.9"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.tree-sitter]
version = "0.26"
[dependencies.tree-sitter-go]
version = "0.25"
[dependencies.tree-sitter-javascript]
version = "0.25"
[dependencies.tree-sitter-python]
version = "0.25"
[dependencies.tree-sitter-rust]
version = "0.24"
[dependencies.tree-sitter-typescript]
version = "0.23"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.insta]
version = "1.42"
features = ["yaml"]
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.proptest]
version = "1.6"
[dev-dependencies.tempfile]
version = "3.25"
[dev-dependencies.wiremock]
version = "0.6"
[profile.release]
lto = true
codegen-units = 1
strip = true