# 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.85"
name = "shuire"
version = "0.1.1"
authors = ["Takumasa Sakao <sakataku7@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Vim-like TUI git diff viewer"
homepage = "https://github.com/sachaos/shuire"
documentation = "https://github.com/sachaos/shuire"
readme = "README.md"
keywords = [
    "git",
    "diff",
    "tui",
    "terminal",
    "ratatui",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/sachaos/shuire"

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arboard]
version = "3"

[dependencies.better-panic]
version = "0.3"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "cargo",
    "wrap_help",
    "unicode",
    "string",
    "unstable-styles",
]

[dependencies.color-eyre]
version = "0.6"

[dependencies.config]
version = "0.14"

[dependencies.crossterm]
version = "0.28"
features = [
    "serde",
    "event-stream",
]

[dependencies.directories]
version = "5"

[dependencies.futures]
version = "0.3"

[dependencies.human-panic]
version = "2"

[dependencies.json5]
version = "0.4"

[dependencies.lazy_static]
version = "1"

[dependencies.libc]
version = "0.2"

[dependencies.notify]
version = "7"

[dependencies.ratatui]
version = "0.30"
features = [
    "serde",
    "macros",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.signal-hook]
version = "0.3"

[dependencies.strip-ansi-escapes]
version = "0.2"

[dependencies.strum]
version = "0.26"
features = ["derive"]

[dependencies.syntect]
version = "5"
features = [
    "default-syntaxes",
    "default-themes",
    "parsing",
    "regex-fancy",
]
default-features = false

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

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-error]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "serde",
]

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

[dev-dependencies.assert_cmd]
version = "2"

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

[dev-dependencies.pretty_assertions]
version = "1"

[build-dependencies.anyhow]
version = "1"

[build-dependencies.vergen-gix]
version = "9"
features = [
    "build",
    "cargo",
]

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = true
