branchdiff 0.58.0

Terminal UI showing unified diff of current branch vs its base
Documentation
# 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.91"
name = "branchdiff"
version = "0.58.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal UI showing unified diff of current branch vs its base"
homepage = "https://github.com/michaeldhopkins/branchdiff"
readme = "README.md"
keywords = [
    "git",
    "diff",
    "tui",
    "terminal",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/michaeldhopkins/branchdiff"

[lib]
name = "branchdiff"
path = "src/lib.rs"

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

[[example]]
name = "generate_assets"
path = "examples/generate_assets.rs"

[[test]]
name = "integration"
path = "tests/integration/main.rs"

[[bench]]
name = "performance"
path = "benches/performance.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.arboard]
version = "2"

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

[dependencies.crossterm]
version = "0.28"

[dependencies.ignore]
version = "0.4"

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
    "gif",
    "webp",
    "bmp",
    "ico",
    "tiff",
    "avif",
    "qoi",
]
default-features = false

[dependencies.imara-diff]
version = "0.1"

[dependencies.notify]
version = "7"

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

[dependencies.ratatui]
version = "0.30"

[dependencies.ratatui-image]
version = "10"
features = ["crossterm"]
default-features = false

[dependencies.rayon]
version = "1.10"

[dependencies.resvg]
version = "0.45"

[dependencies.similar]
version = "2"
features = ["inline"]

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

[dependencies.tempfile]
version = "3"

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

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

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

[dev-dependencies.clap_complete]
version = "4"

[dev-dependencies.clap_mangen]
version = "0.2"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.insta]
version = "1.40"

[dev-dependencies.portable-pty]
version = "0.8"

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

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.vt100]
version = "0.15"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[lints.clippy]
bool_to_int_with_if = "warn"
cognitive-complexity = "warn"
collapsible-if = "deny"
extend_with_drain = "deny"
fn-params-excessive-bools = "deny"
match_bool = "warn"
needless-range-loop = "deny"
struct-excessive-bools = "deny"
too-many-arguments = "deny"
too-many-lines = "warn"

[profile.dist]
lto = "thin"
inherits = "release"

[profile.profiling]
debug = 2
inherits = "release"