# 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.74"
name = "packdiff"
version = "0.2.3"
authors = ['Dmitry "Dima" Korolev <dmitry.korolev@gmail.com>']
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pack a git diff into one self-contained HTML review page — with local, exportable review comments."
readme = "README.md"
keywords = [
    "git",
    "diff",
    "code-review",
    "html",
    "wasm",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/dkorolev/packdiff"

[features]
cli = ["dep:indicatif"]
default = ["cli"]

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

[[bin]]
name = "packdiff"
path = "src/main.rs"
required-features = ["cli"]

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

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

[dependencies.indicatif]
version = "0.17"
optional = true

[dependencies.packdiff-dto]
version = "0.2.3"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"
