# 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 = "hewdiff"
version = "0.2.0"
build = false
exclude = [
    "examples/",
    ".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance review-first terminal diff viewer with PR-style comments"
readme = "README.md"
keywords = [
    "diff",
    "patch",
    "review",
    "tui",
    "terminal",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/yusukeshib/hew"

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

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.crossterm]
version = "0.28"

[dependencies.libc]
version = "0.2"

[dependencies.patch]
version = "0.7"

[dependencies.ratatui]
version = "0.29"

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

[dependencies.serde_json]
version = "1"

[dependencies.syntect]
version = "5"
features = ["default-fancy"]
default-features = false

[dependencies.two-face]
version = "0.4"
features = ["syntect-fancy"]
default-features = false

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
