hsh-cli 0.0.9

Command-line companion for the `hsh` password-hashing library: hash / verify / rehash / inspect / calibrate.
# 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.88"
name = "hsh-cli"
version = "0.0.9"
authors = [
    "Sebastien Rousseau <sebastian.rousseau@gmail.com>",
    "The Hash (HSH) library contributors",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line companion for the `hsh` password-hashing library: hash / verify / rehash / inspect / calibrate."
homepage = "https://hshlib.com/"
documentation = "https://docs.rs/hsh"
readme = "README.md"
keywords = [
    "argon2id",
    "password",
    "cli",
    "phc",
    "kdf",
]
categories = [
    "authentication",
    "command-line-utilities",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sebastienrousseau/hsh"
resolver = "2"

[features]
default = []
fips = ["hsh/fips"]
pepper = [
    "hsh/pepper",
    "dep:hsh-kms",
]

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.argon2]
version = "0.5"
features = [
    "alloc",
    "password-hash",
]
default-features = false

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
    "wrap_help",
]

[dependencies.clap_complete]
version = "4.5"

[dependencies.hsh]
version = "0.0.9"

[dependencies.hsh-kms]
version = "0.0.9"
optional = true

[dependencies.rpassword]
version = "7.3"

[dependencies.serde_json]
version = "1.0.143"

[dev-dependencies.insta]
version = "1.40"
features = ["yaml"]
default-features = false

[lints.clippy]
collection_is_never_read = "allow"
expect_used = "allow"
format_collect = "allow"
too_long_first_doc_paragraph = "allow"
uninlined_format_args = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
dead_code = "deny"
deprecated_in_future = "deny"
ellipsis_inclusive_range_patterns = "deny"
explicit_outlives_requirements = "deny"
macro_use_extern_crate = "deny"
meta_variable_misuse = "deny"
missing_copy_implementations = "warn"
missing_debug_implementations = "forbid"
missing_docs = "deny"
non_ascii_idents = "forbid"
noop_method_call = "deny"
single_use_lifetimes = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unreachable_pub = "forbid"
unsafe_code = "forbid"
unstable_features = "warn"
unused_extern_crates = "warn"
unused_features = "deny"
unused_import_braces = "deny"
unused_labels = "deny"
unused_lifetimes = "deny"
unused_macro_rules = "deny"
unused_qualifications = "deny"
unused_results = "warn"
variant_size_differences = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.keyword_idents]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rust.rust_2021_compatibility]
level = "deny"
priority = -1

[lints.rust.unused]
level = "deny"
priority = -1