# 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"
name = "lumen"
version = "2.28.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "lumen is a command-line tool that uses AI to generate commit messages, summarise git diffs or past commits, and more."
readme = "README.md"
keywords = [
    "cli",
    "terminal",
    "ai",
    "git",
    "commit",
]
categories = [
    "command-line-interface",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/jnsahaj/lumen"

[features]
default = ["jj"]
jj = [
    "jj-lib",
    "chrono",
    "pollster",
    "futures",
]

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

[dependencies.arboard]
version = "3.4"

[dependencies.chrono]
version = "0.4"
optional = true

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

[dependencies.crossterm]
version = "0.28"

[dependencies.dirs]
version = "6.0.0"

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.genai]
version = "0.4"

[dependencies.git2]
version = "0.20"
features = [
    "vendored-libgit2",
    "vendored-openssl",
    "https",
]
default-features = false

[dependencies.indoc]
version = "2.0.5"

[dependencies.inquire]
version = "0.7"

[dependencies.jj-lib]
version = "0.37.0"
features = ["git"]
optional = true

[dependencies.notify]
version = "7.0"

[dependencies.notify-debouncer-mini]
version = "0.5"

[dependencies.nucleo-matcher]
version = "0.3"

[dependencies.once_cell]
version = "1.20"

[dependencies.pollster]
version = "0.4"
optional = true

[dependencies.ratatui]
version = "0.29"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.similar]
version = "2.6"
features = [
    "inline",
    "unicode",
]

[dependencies.spinoff]
version = "0.8.0"
features = ["dots"]

[dependencies.streaming-iterator]
version = "0.1"

[dependencies.terminal-light]
version = "1.8.0"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.tree-sitter]
version = "0.24"

[dependencies.tree-sitter-bash]
version = "0.23"

[dependencies.tree-sitter-c-sharp]
version = "0.23"

[dependencies.tree-sitter-css]
version = "0.23"

[dependencies.tree-sitter-elixir]
version = "0.3"

[dependencies.tree-sitter-go]
version = "0.23"

[dependencies.tree-sitter-highlight]
version = "0.24"

[dependencies.tree-sitter-html]
version = "0.23"

[dependencies.tree-sitter-javascript]
version = "0.23"

[dependencies.tree-sitter-json]
version = "0.24"

[dependencies.tree-sitter-md]
version = "0.3"

[dependencies.tree-sitter-python]
version = "0.23"

[dependencies.tree-sitter-ruby]
version = "0.23"

[dependencies.tree-sitter-rust]
version = "0.23"

[dependencies.tree-sitter-toml-ng]
version = "0.7"

[dependencies.tree-sitter-typescript]
version = "0.23"

[dependencies.tree-sitter-zig]
version = "1.1.2"

[dependencies.tui-textarea]
version = "0.7"

[dependencies.xml-rs]
version = "0.8"

[dev-dependencies.tempfile]
version = "3"

[profile.release]
lto = true
