# 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.88.0"
name = "tui-widgets"
version = "0.7.3"
authors = ["Joshka"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A collection of useful widgets for building terminal user interfaces using Ratatui"
documentation = "https://docs.rs/tui-widgets"
readme = "README.md"
keywords = [
    "cli",
    "console",
    "ratatui",
    "terminal",
    "tui",
]
categories = [
    "command-line-interface",
    "gui",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ratatui/tui-widgets"

[features]
bar-graph = ["tui-bar-graph"]
big-text = ["tui-big-text"]
box-text = ["tui-box-text"]
cards = ["tui-cards"]
default = [
    "bar-graph",
    "big-text",
    "box-text",
    "cards",
    "popup",
    "prompts",
    "qrcode",
    "scrollbar",
    "scrollview",
]
popup = ["tui-popup"]
prompts = ["tui-prompts"]
qrcode = ["tui-qrcode"]
scrollbar = ["tui-scrollbar"]
scrollview = ["tui-scrollview"]

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

[dependencies.document-features]
version = "0.2.11"

[dependencies.ratatui-core]
version = "0.1"

[dependencies.tui-bar-graph]
version = "0.3.3"
optional = true

[dependencies.tui-big-text]
version = "0.8.5"
optional = true

[dependencies.tui-box-text]
version = "0.3.3"
optional = true

[dependencies.tui-cards]
version = "0.3.3"
optional = true

[dependencies.tui-popup]
version = "0.7.5"
optional = true

[dependencies.tui-prompts]
version = "0.6.3"
optional = true

[dependencies.tui-qrcode]
version = "0.2.5"
optional = true

[dependencies.tui-scrollbar]
version = "0.2.4"
optional = true

[dependencies.tui-scrollview]
version = "0.6.5"
optional = true

[lints.clippy]
nursery = "warn"
pedantic = "warn"

[lints.rust]
unused = "warn"
