# 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.66.0"
name = "chksum-cli"
version = "0.3.0"
authors = ["Konrad Goławski <konrad@golawski.it>"]
description = "A simple checksum calculator."
readme = ".cargo/README.md"
keywords = [
    "checksum",
    "digest",
    "directory-checksum",
    "file-checksum",
    "hash",
]
categories = [
    "command-line-utilities",
    "cryptography",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/ferric-bytes/chksum-cli"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[profile.release]
lto = "fat"

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

[dependencies.anyhow]
version = "1.0.72"

[dependencies.chksum]
version = "0.2.1"

[dependencies.clap]
version = "4.3.19"
features = [
    "cargo",
    "derive",
    "wrap_help",
    "unicode",
]

[dependencies.colored]
version = "2.0.4"
optional = true

[dependencies.exitcode]
version = "1.1.2"

[dependencies.rayon]
version = "1.7.0"

[dev-dependencies.assert_cmd]
version = "2.0.12"
features = ["color-auto"]

[dev-dependencies.assert_fs]
version = "1.0.13"
features = ["color-auto"]

[dev-dependencies.thiserror]
version = "1.0.44"

[features]
color = ["colored"]
default = [
    "color",
    "md5",
    "sha1",
    "sha2",
]
md5 = ["chksum/md5"]
sha1 = ["chksum/sha1"]
sha2 = [
    "sha2-224",
    "sha2-256",
    "sha2-384",
    "sha2-512",
    "chksum/sha2",
]
sha2-224 = ["chksum/sha2-224"]
sha2-256 = ["chksum/sha2-256"]
sha2-384 = ["chksum/sha2-384"]
sha2-512 = ["chksum/sha2-512"]
