llm-git 3.1.0

AI-powered git commit message generator using Claude and other LLMs via OpenAI-compatible APIs
Documentation
# 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 = "2024"
rust-version = "1.91"
name = "llm-git"
version = "3.1.0"
authors = ["can1357 <me@can.ac>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI-powered git commit message generator using Claude and other LLMs via OpenAI-compatible APIs"
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",
]
license = "MIT"
repository = "https://github.com/can1357/llm-git"

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.arboard]
version = "3.6"
features = ["wayland-data-control"]

[dependencies.chrono]
version = "0.4"

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

[dependencies.dotenvy]
version = "0.15"

[dependencies.futures]
version = "0.3"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.miette]
version = "7.6.0"
features = ["fancy"]

[dependencies.owo-colors]
version = "4.2"

[dependencies.parking_lot]
version = "0.12"

[dependencies.reqwest]
version = "0.13"
features = ["json"]

[dependencies.rust-embed]
version = "8.11"
features = ["include-exclude"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.supports-color]
version = "3"

[dependencies.tera]
version = "1.20"

[dependencies.terminal_size]
version = "0.4"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

[dependencies.toml]
version = "1.0"

[dependencies.unicode-normalization]
version = "0.1"

[build-dependencies.serde_json]
version = "1.0"

[lints.clippy]
allow_attributes_without_reason = "warn"
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_ptr_alignment = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
float_cmp = "allow"
inconsistent_struct_constructor = "allow"
inline_always = "allow"
items_after_statements = "allow"
let_underscore_untyped = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
ptr_as_ptr = "allow"
redundant_closure_for_method_calls = "allow"
ref_as_ptr = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
tuple_array_conversions = "allow"
undocumented_unsafe_blocks = "warn"
unreadable_literal = "allow"
unsafe_derive_deserialize = "allow"
verbose_bit_mask = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1