commitbot 0.5.1

A CLI assistant that generates commit and PR messages from your diffs using LLMs.
# 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 = "commitbot"
version = "0.5.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A CLI assistant that generates commit and PR messages from your diffs using LLMs."
homepage = "https://github.com/MikeGarde/commitbot"
documentation = "https://docs.rs/commitbot"
readme = "README.md"
keywords = [
    "git",
    "commit",
    "cli",
    "llm",
    "chatgpt",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "text-processing",
]
license = "GPL-3.0-only"
repository = "https://github.com/MikeGarde/commitbot"

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

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

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

[dependencies.anyhow]
version = "^1.0"

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

[dependencies.colored]
version = "^3"

[dependencies.crossterm]
version = "^0.29"

[dependencies.dirs]
version = "^6.0.0"

[dependencies.env_logger]
version = "^0.11"

[dependencies.indicatif]
version = "^0.18.2"

[dependencies.log]
version = "^0.4"

[dependencies.musli]
version = "^0.0.149"
features = [
    "json",
    "alloc",
]

[dependencies.reqwest]
version = "^0.13"
features = [
    "json",
    "blocking",
]

[dependencies.serde]
version = "^1"
features = ["derive"]

[dependencies.serde_json]
version = "^1"

[dependencies.toml]
version = "^1.0"

[dev-dependencies.assert_cmd]
version = "^2.1.1"

[dev-dependencies.predicates]
version = "^3.1.3"

[profile.dev]
opt-level = 0
debug = 2

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