[package]
edition = "2024"
rust-version = "1.88"
name = "terminput"
version = "0.5.13"
authors = ["Austin Schey <aschey13@gmail.com>"]
build = false
include = [
"/src",
"/examples",
"/tests",
"LICENSE-MIT",
"LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TUI input parser/encoder and abstraction over input backends"
homepage = "https://github.com/aschey/terminput"
readme = "README.md"
keywords = [
"tui",
"terminal",
"input",
"ratatui",
]
categories = [
"command-line-interface",
"encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/aschey/terminput"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
cargo-args = [
"-Zunstable-options",
"-Zrustdoc-scrape-examples",
]
[features]
default = ["std"]
serde = [
"dep:serde",
"bitflags/serde",
]
std = []
[lib]
name = "terminput"
path = "src/lib.rs"
[[test]]
name = "match_test"
path = "tests/match_test.rs"
[[test]]
name = "parse_test"
path = "tests/parse_test.rs"
[dependencies.bitflags]
version = "2.9.4"
[dependencies.serde]
version = "1.0.134"
features = ["derive"]
optional = true
[dev-dependencies.crossterm]
version = "0.29"
[lints.clippy]
default_trait_access = "warn"
doc_markdown = "warn"
ignored_unit_patterns = "warn"
missing_fields_in_debug = "warn"
semicolon_if_nothing_returned = "warn"
use_self = "warn"
[lints.rustdoc]
broken_intra_doc_links = "deny"