[package]
name = "llm-git"
version = "2.3.0"
edition = "2024"
authors = ["can1357 <me@can.ac>"]
license = "MIT"
description = "AI-powered git commit message generator using Claude and other LLMs via OpenAI-compatible APIs"
repository = "https://github.com/can1357/llm-git"
homepage = "https://github.com/can1357/llm-git"
documentation = "https://github.com/can1357/llm-git"
readme = "README.md"
keywords = ["git", "commit", "ai", "claude", "llm"]
categories = ["command-line-utilities", "development-tools"]
rust-version = "1.91"
[[bin]]
name = "lgit"
path = "src/main.rs"
[dependencies]
clap = { version = "4.5", features = ["derive"] }
dotenvy = "0.15"
reqwest = { version = "0.12", features = ["json", "blocking"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.9"
anyhow = "1.0"
thiserror = "2.0"
arboard = "3.4"
unicode-normalization = "0.1"
rayon = "1.10"
chrono = "0.4"
tera = "1.1"
indexmap = { version = "2", features = ["serde"] }
rust-embed = "8.1"
parking_lot = "0.12.5"
owo-colors = "4"
supports-color = "3"
terminal_size = "0.4"
tiktoken-rs = "0.6"
[build-dependencies]
serde_json = "1.0"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
style = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
correctness = { level = "deny", priority = -1 }
suspicious = { level = "deny", priority = -1 }
nursery = { level = "warn", priority = -1 }
allow_attributes_without_reason = "warn"
float_cmp = "allow"
undocumented_unsafe_blocks = "warn"
cast_ptr_alignment = "allow"
redundant_closure_for_method_calls = "allow"
must_use_candidate = "allow"
return_self_not_must_use = "allow"
let_underscore_untyped = "allow"
wildcard_imports = "allow"
inline_always = "allow"
items_after_statements = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
cast_precision_loss = "allow"
cast_possible_truncation = "allow"
cast_lossless = "allow"
cast_sign_loss = "allow"
cast_possible_wrap = "allow"
verbose_bit_mask = "allow"
needless_pass_by_value = "allow"
inconsistent_struct_constructor = "allow"
struct_excessive_bools = "allow"
unreadable_literal = "allow"
similar_names = "allow"
default_trait_access = "allow"
option_if_let_else = "allow"
tuple_array_conversions = "allow"
significant_drop_tightening = "allow"
match_wildcard_for_single_variants = "allow"
match_same_arms = "allow"
missing_fields_in_debug = "allow"
too_many_lines = "allow"
unsafe_derive_deserialize = "allow"
ref_as_ptr = "allow"
borrow_as_ptr = "allow"
ptr_as_ptr = "allow"