pwgen2 0.8.2

password generator
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"
name = "pwgen2"
version = "0.8.2"
authors = ["Nicolas Embriz <nbari@tequila.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "password generator"
homepage = "https://github.com/nbari/pwgen2/"
documentation = "https://docs.rs/pwgen2/latest/pwgen2/"
readme = "README.md"
keywords = [
    "password",
    "generator",
    "hash",
    "security",
]
categories = [
    "command-line-utilities",
    "command-line-interface",
]
license = "BSD-3-Clause"
repository = "https://github.com/nbari/pwgen2/"

[[package.metadata.generate-rpm.assets]]
source = "target/release/pwgen2"
dest = "/usr/bin/pwgen2"
mode = "0755"

[package.metadata.deb]
assets = [[
    "target/release/pwgen2",
    "/usr/bin/pwgen2",
    "755",
]]
depends = ""

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

[[bin]]
name = "pwgen2"
path = "src/bin/pwgen2.rs"

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

[dependencies.anyhow]
version = "1"

[dependencies.bcrypt]
version = "0.19"

[dependencies.bip39]
version = "2.2"
features = ["rand"]

[dependencies.clap]
version = "4.6"

[dependencies.crossbeam]
version = "0.8"

[dependencies.pbkdf2]
version = "0.13"
features = [
    "phc",
    "getrandom",
    "sha2",
]

[dependencies.rand]
version = "0.10"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha-crypt]
version = "0.6"
features = ["getrandom"]

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
]

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

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

[lints.clippy]
all = "deny"
await_holding_lock = "deny"
complexity = "deny"
correctness = "deny"
expect_used = "deny"
indexing_slicing = "deny"
large_stack_arrays = "deny"
needless_borrow = "deny"
needless_collect = "deny"
panic = "deny"
pedantic = "deny"
perf = "deny"
suspicious = "deny"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "allow"
priority = -1

[lints.rust]
warnings = "deny"