# 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"
name = "nizm"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight, zero-config alternative to pre-commit"
readme = "README.md"
keywords = [
    "git",
    "hooks",
    "pre-commit",
    "linter",
    "formatter",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/viperadnan-git/nizm"

[package.metadata.nizm.hooks.clippy]
cmd = "cargo clippy --fix --allow-dirty -- -D warnings"
glob = "*.rs"

[package.metadata.nizm.hooks.rustfmt]
cmd = "cargo fmt"
glob = "*.rs"

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

[dependencies.anstyle]
version = "1"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "error-context",
    "help",
    "usage",
    "std",
    "color",
]
default-features = false

[dependencies.ctrlc]
version = "3"
features = ["termination"]

[dependencies.dialoguer]
version = "0.12"
default-features = false

[dependencies.indexmap]
version = "2"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.toml_edit]
version = "0.25"
features = ["serde"]

[profile.release]
lto = true
strip = true
