[package]
edition = "2024"
rust-version = "1.92"
name = "terminput-web-sys"
version = "0.2.10"
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 = "web-sys adapter for terminput"
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 = ["web_sys_0_3"]
web_sys_0_3 = ["dep:web_sys_0_3"]
[lib]
name = "terminput_web_sys"
path = "src/lib.rs"
[dependencies.terminput]
version = "0.5.14"
[dependencies.web_sys_0_3]
version = "0.3.77"
features = [
"KeyboardEvent",
"MouseEvent",
"DragEvent",
"ClipboardEvent",
"WheelEvent",
"DataTransfer",
"Document",
"Window",
"Element",
]
optional = true
package = "web-sys"
[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"