aigitcommit 1.9.0

A simple git commit message generator by OpenAI compaction model.
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"
name = "aigitcommit"
version = "1.9.0"
authors = ["mingcheng <mingcheng@apache.org>"]
build = "build.rs"
exclude = ["assets/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple git commit message generator by OpenAI compaction model."
homepage = "https://github.com/mingcheng/aigitcommit"
readme = "README.md"
keywords = [
    "git",
    "tools",
    "ai",
    "development",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license-file = "LICENSE"
repository = "https://github.com/mingcheng/aigitcommit"

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

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

[dependencies.arboard]
version = "3.6"

[dependencies.askama]
version = "0.16"

[dependencies.async-openai]
version = "0.37"
features = [
    "chat-completion",
    "model",
]

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

[dependencies.cliclack]
version = "0.5.4"

[dependencies.git2]
version = "0.20"

[dependencies.log]
version = "0.4"

[dependencies.regex]
version = "1.12.3"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
    "socks",
    "blocking",
    "multipart",
    "http2",
    "charset",
    "native-tls-vendored",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tabled]
version = "0.20"

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"

[build-dependencies.built]
version = "0.8"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
debug = 0
panic = "abort"
strip = true