[package]
edition = "2024"
rust-version = "1.89"
name = "vtty"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-allocation, panic-free DEC VT500 terminal parser with UTF-8 decoding and no_std support."
readme = "README.md"
keywords = [
"terminal",
"vt",
"ansi",
"parser",
"escape",
]
categories = [
"parsing",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pindash-io/vtty"
[features]
default = []
simd = [
"dep:fearless_simd",
"fearless_simd/std",
"dep:simdutf8",
]
simd-transcode = ["simd"]
[lib]
name = "vtty"
path = "src/lib.rs"
[[test]]
name = "color_charset"
path = "tests/color_charset.rs"
[[test]]
name = "keyboard"
path = "tests/keyboard.rs"
[[test]]
name = "mode_mouse_reply"
path = "tests/mode_mouse_reply.rs"
[[test]]
name = "parser"
path = "tests/parser.rs"
[[test]]
name = "state"
path = "tests/state.rs"
[[test]]
name = "style"
path = "tests/style.rs"
[[test]]
name = "vt_differential"
path = "tests/vt_differential.rs"
[[test]]
name = "vt_differential_rio"
path = "tests/vt_differential_rio.rs"
[dependencies.bitflags]
version = "2"
[dependencies.fearless_simd]
version = "1.1"
optional = true
default-features = false
[dependencies.simdutf8]
version = "0.1"
optional = true
[dependencies.smallvec]
version = "2.0.0-beta.2"
default-features = false
[dependencies.smol_str]
version = "0.3"
default-features = false
[dependencies.utf8_iter]
version = "1"
[dev-dependencies.rio-vt]
version = "0.5.28"
default-features = false
[dev-dependencies.smallvec]
version = "2.0.0-beta.2"
default-features = false
[dev-dependencies.vte]
version = "0.15.0"
[lints.clippy]
allow_attributes_without_reason = "warn"
cargo_common_metadata = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
collection_is_never_read = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
default_trait_access = "warn"
doc_markdown = "warn"
fn_to_numeric_cast_any = "warn"
infinite_loop = "warn"
large_stack_arrays = "warn"
mismatching_type_param_order = "warn"
missing_assert_message = "warn"
missing_fields_in_debug = "warn"
negative_feature_names = "warn"
redundant_feature_names = "warn"
same_functions_in_if_condition = "warn"
semicolon_if_nothing_returned = "warn"
should_panic_without_expect = "warn"
todo = "warn"
too_many_arguments = "allow"
unseparated_literal_suffix = "warn"
use_self = "warn"
wildcard_dependencies = "warn"
[lints.rust]
elided_lifetimes_in_paths = "warn"
keyword_idents_2024 = "forbid"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "forbid"
non_local_definitions = "forbid"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "forbid"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
[lints.rustdoc]
broken_intra_doc_links = "deny"