# 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.11.1" authors = ["Arijit Basu "] build = 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" [lib] name = "tui_input" path = "src/lib.rs" [[example]] name = "crossterm_input" path = "examples/crossterm_input.rs" required-features = ["crossterm"] [[example]] name = "termion_input" path = "examples/termion_input.rs" required-features = ["termion"] [dependencies.ratatui] version = "0.29" optional = true [dependencies.serde] version = "1.0.213" features = ["derive"] optional = true [dependencies.termion] version = "4.0.3" optional = true [dependencies.unicode-width] version = "0.2.0" [features] crossterm = ["dep:ratatui"] default = ["crossterm"] serde = ["dep:serde"] termion = ["dep:termion"]