# 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.56.1" name = "tui-textarea" version = "0.7.0" authors = ["rhysd "] build = false include = [ "/src", "/examples", "/tests", "/README.md", "/LICENSE.txt", ] autobins = false autoexamples = false autotests = false autobenches = false description = """ tui-textarea is a simple yet powerful text editor widget for ratatui and tui-rs. Multi-line text editor can be easily put as part of your TUI application. """ homepage = "https://github.com/rhysd/tui-textarea#readme" readme = "README.md" keywords = [ "tui", "textarea", "editor", "input", "ratatui", ] categories = [ "text-editors", "text-processing", ] license = "MIT" repository = "https://github.com/rhysd/tui-textarea" [package.metadata.docs.rs] features = [ "search", "crossterm", "termwiz", "termion", "serde", ] rustdoc-args = [ "--cfg", "docsrs", ] targets = ["x86_64-unknown-linux-gnu"] [profile.bench] lto = "thin" [lib] name = "tui_textarea" path = "src/lib.rs" [[example]] name = "editor" path = "examples/editor.rs" required-features = [ "crossterm", "search", ] [[example]] name = "minimal" path = "examples/minimal.rs" required-features = ["crossterm"] [[example]] name = "password" path = "examples/password.rs" required-features = ["crossterm"] [[example]] name = "popup_placeholder" path = "examples/popup_placeholder.rs" required-features = ["crossterm"] [[example]] name = "single_line" path = "examples/single_line.rs" required-features = ["crossterm"] [[example]] name = "split" path = "examples/split.rs" required-features = ["crossterm"] [[example]] name = "termion" path = "examples/termion.rs" required-features = ["termion"] [[example]] name = "termwiz" path = "examples/termwiz.rs" required-features = ["termwiz"] [[example]] name = "tuirs_editor" path = "examples/tuirs_editor.rs" required-features = [ "tuirs-crossterm", "search", ] [[example]] name = "tuirs_minimal" path = "examples/tuirs_minimal.rs" required-features = ["tuirs-crossterm"] [[example]] name = "tuirs_termion" path = "examples/tuirs_termion.rs" required-features = ["tuirs-termion"] [[example]] name = "variable" path = "examples/variable.rs" required-features = ["crossterm"] [[example]] name = "vim" path = "examples/vim.rs" required-features = ["crossterm"] [[test]] name = "cursor" path = "tests/cursor.rs" [[test]] name = "history" path = "tests/history.rs" [[test]] name = "input" path = "tests/input.rs" [[test]] name = "search" path = "tests/search.rs" [[test]] name = "serde" path = "tests/serde.rs" [[test]] name = "textarea" path = "tests/textarea.rs" [dependencies.arbitrary] version = "1" features = ["derive"] optional = true [dependencies.crossterm] version = "0.28" optional = true package = "crossterm" [dependencies.crossterm-025] version = "0.25" optional = true package = "crossterm" [dependencies.ratatui] version = "0.29.0" optional = true default-features = false [dependencies.regex] version = "1" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.termion] version = "4.0" optional = true [dependencies.termion-15] version = "1.5" optional = true package = "termion" [dependencies.termwiz] version = "0.22.0" optional = true [dependencies.tui] version = "0.19" optional = true default-features = false [dependencies.unicode-width] version = "0.2.0" [dev-dependencies.serde_json] version = "1.0.120" [features] arbitrary = ["dep:arbitrary"] crossterm = [ "ratatui", "dep:crossterm", "ratatui/crossterm", ] default = ["crossterm"] no-backend = ["ratatui"] ratatui = ["dep:ratatui"] search = ["dep:regex"] serde = ["dep:serde"] termion = [ "ratatui", "dep:termion", "ratatui/termion", ] termwiz = [ "ratatui", "dep:termwiz", "ratatui/termwiz", ] tuirs = ["dep:tui"] tuirs-crossterm = [ "tuirs", "dep:crossterm-025", "tui/crossterm", ] tuirs-no-backend = ["tuirs"] tuirs-termion = [ "tuirs", "dep:termion-15", "tui/termion", ]