# 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"
name = "dialoguer"
version = "0.12.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A command line prompting library."
homepage = "https://github.com/console-rs/dialoguer"
documentation = "https://docs.rs/dialoguer"
readme = "README.md"
keywords = [
    "cli",
    "menu",
    "prompt",
]
categories = ["command-line-interface"]
license = "MIT"
repository = "https://github.com/console-rs/dialoguer"

[package.metadata.cargo_check_external_types]
allowed_external_types = [
    "console",
    "console::*",
    "fuzzy_matcher::skim::SkimMatcherV2",
]

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

[features]
completion = []
default = [
    "editor",
    "password",
]
editor = ["tempfile"]
fuzzy-select = ["fuzzy-matcher"]
history = []
password = ["zeroize"]

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

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

[[example]]
name = "completion"
path = "examples/completion.rs"
required-features = ["completion"]

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

[[example]]
name = "editor"
path = "examples/editor.rs"
required-features = ["editor"]

[[example]]
name = "fuzzy_select"
path = "examples/fuzzy_select.rs"
required-features = ["fuzzy-select"]

[[example]]
name = "history"
path = "examples/history.rs"
required-features = ["history"]

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

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

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

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

[[example]]
name = "password"
path = "examples/password.rs"
required-features = ["password"]

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

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

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

[dependencies.console]
version = "0.16.0"

[dependencies.fuzzy-matcher]
version = "0.3.7"
optional = true

[dependencies.shell-words]
version = "1.1.0"

[dependencies.tempfile]
version = "3"
optional = true

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