# 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.77.0"
name = "readpassphrase-3"
version = "0.9.3"
build = "build.rs"
exclude = [
    ".githook/*",
    ".github/**",
    ".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Simple wrapper around readpassphrase(3)"
readme = "README.md"
keywords = [
    "getpass",
    "passphrase",
    "password",
    "tty",
]
categories = ["command-line-interface"]
license = "BSD-1-Clause"
repository = "https://github.com/mrdomino/readpassphrase-3"

[package.metadata.docs.rs]
features = ["zeroize"]
no-default-features = true

[features]
default = ["cc"]

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

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

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

[[example]]
name = "pass"
path = "examples/pass.rs"
doc-scrape-examples = true

[dependencies.bitflags]
version = "2"

[dependencies.zeroize]
version = "1"
optional = true

[dev-dependencies.zeroize]
version = "1"

[build-dependencies.cc]
version = "1"
optional = true
