promkit 0.14.0

A toolkit for building your own interactive command-line tools
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 = "2021"
name = "promkit"
version = "0.14.0"
authors = ["ynqa <un.pensiero.vano@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A toolkit for building your own interactive command-line tools"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ynqa/promkit"

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

[features]
all = [
    "runtime",
    "terminal-session",
    "validate",
    "prefixsearch",
    "checkbox",
    "json",
    "yaml",
    "listbox",
    "serde",
    "spinner",
    "status",
    "table",
    "text",
    "texteditor",
    "tree",
]
checkbox = [
    "widgets",
    "promkit-widgets/checkbox",
]
core = ["dep:promkit-core"]
default = []
json = [
    "widgets",
    "promkit-widgets/json",
]
listbox = [
    "widgets",
    "promkit-widgets/listbox",
]
prefixsearch = [
    "widgets",
    "promkit-widgets/prefixsearch",
]
runtime = [
    "core",
    "dep:anyhow",
    "dep:async-trait",
    "dep:futures",
    "dep:tokio",
]
serde = [
    "widgets",
    "promkit-widgets/serde",
]
spinner = [
    "widgets",
    "promkit-widgets/spinner",
]
status = [
    "widgets",
    "promkit-widgets/status",
]
table = [
    "widgets",
    "promkit-widgets/table",
]
terminal-session = [
    "dep:bitflags",
    "dep:crossterm",
]
text = [
    "widgets",
    "promkit-widgets/text",
]
texteditor = [
    "widgets",
    "promkit-widgets/texteditor",
]
tree = [
    "widgets",
    "promkit-widgets/tree",
]
validate = []
widgets = [
    "core",
    "dep:promkit-widgets",
]
yaml = [
    "widgets",
    "promkit-widgets/yaml",
]

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

[dependencies.anyhow]
version = "1.0.102"
optional = true

[dependencies.async-trait]
version = "0.1.89"
optional = true

[dependencies.bitflags]
version = "2.9.0"
optional = true

[dependencies.crossterm]
version = "0.29.0"
features = [
    "use-dev-tty",
    "event-stream",
    "serde",
]
optional = true

[dependencies.futures]
version = "0.3.32"
optional = true

[dependencies.promkit-core]
version = "=0.5.0"
optional = true

[dependencies.promkit-widgets]
version = "=0.7.0"
optional = true
default-features = false

[dependencies.tokio]
version = "1.49.0"
features = ["full"]
optional = true