# 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 = "tui-input"
version = "0.15.3"
authors = ["Arijit Basu <hi@arijitbasu.in>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TUI input library supporting multiple backends"
readme = "README.md"
keywords = [
    "tui",
    "terminal",
    "input",
]
license = "MIT"
repository = "https://github.com/sayanarijit/tui-input"

[features]
default = ["ratatui-crossterm"]
ratatui-crossterm = ["ratatui/crossterm"]
ratatui-termion = ["ratatui/termion"]

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

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

[[example]]
name = "ratatui_crossterm_input"
path = "examples/ratatui_crossterm_input.rs"
required-features = ["ratatui-crossterm"]

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

[dependencies.crossterm]
version = "0.29.0"
optional = true

[dependencies.ratatui]
version = "0.30.0"
features = ["crossterm"]
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.termion]
version = "4.0.6"
optional = true

[dependencies.unicode-segmentation]
version = "1.13"

[dependencies.unicode-width]
version = "0.2.2"

[dev-dependencies.serde_json]
version = "1.0"
