# 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 = "2021" rust-version = "1.72" name = "gptcommit" version = "0.5.17" authors = ["Roger Zurawicki "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A git prepare-commit-msg hook for summarizing commits with LLMs." homepage = "https://github.com/zurawiki/gptcommit" readme = "README.md" keywords = [ "openai", "githook", "git", "ai", "gpt", ] categories = ["development-tools"] license = "MIT" repository = "https://github.com/zurawiki/gptcommit" [[bin]] name = "gptcommit" path = "src/main.rs" [dependencies.anyhow] version = "1.0.75" [dependencies.async-openai] version = "0.14.2" [dependencies.async-trait] version = "0.1.73" [dependencies.backoff] version = "0.4.0" [dependencies.clap] version = "4.4.4" features = ["derive"] [dependencies.colored] version = "2.0.4" [dependencies.config] version = "0.13.3" features = ["toml"] [dependencies.dirs] version = "5.0.1" [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.20" [dependencies.regex] version = "1.9.5" [dependencies.reqwest] version = "0.11.20" features = [ "brotli", "gzip", "json", "multipart", "rustls-tls", "stream", "socks", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_derive] version = "1.0.188" [dependencies.serde_json] version = "1.0.107" [dependencies.simple_logger] version = "4.2.0" [dependencies.strum] version = "0.25.0" [dependencies.strum_macros] version = "0.25.2" [dependencies.tera] version = "1.19.1" default-features = false [dependencies.tiktoken-rs] version = "0.5.4" features = ["async-openai"] [dependencies.tokio] version = "1.32.0" features = ["full"] [dependencies.toml] version = "0.8.0" [dependencies.toml_edit] version = "0.20.0" [dependencies.which] version = "4.4.2" [dev-dependencies.async-std] version = "1.12.0"