tastty-core 0.1.0

Sans-IO core of the tastty terminal session library: VT parser, screen buffer, and byte encoders.
# 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 = "2024"
rust-version = "1.88"
name = "tastty-core"
version = "0.1.0"
authors = ["Alexander Kenji Berthold"]
build = false
include = [
    "src/**/*",
    "LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-IO core of the tastty terminal session library: VT parser, screen buffer, and byte encoders."
readme = "README.md"
keywords = [
    "terminal",
    "vt",
    "sans-io",
    "parser",
    "tui",
]
categories = [
    "parser-implementations",
    "command-line-interface",
]
license = "MIT"
repository = "https://github.com/a-kenji/tastty"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
crossterm = ["dep:crossterm"]
widget = [
    "dep:ratatui-core",
    "dep:tui-term",
]

[lib]
name = "tastty_core"
path = "src/lib.rs"

[dependencies.base64]
version = "0.22.1"
features = ["alloc"]
default-features = false

[dependencies.bitflags]
version = "2.13.0"

[dependencies.bytes]
version = "1"

[dependencies.crossterm]
version = "0.29"
features = ["events"]
optional = true
default-features = false

[dependencies.ratatui-core]
version = "0.1"
features = ["underline-color"]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.tui-term]
version = "0.3.4"
optional = true
default-features = false

[dependencies.unicode-segmentation]
version = "1.13"

[dependencies.unicode-width]
version = "0.2"

[dependencies.vte]
version = "0.15"

[dev-dependencies.proptest]
version = "1.11"
features = [
    "std",
    "bit-set",
    "fork",
    "timeout",
]
default-features = false

[dev-dependencies.static_assertions]
version = "1.1"

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
cast_sign_loss = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
expl_impl_clone_on_copy = "warn"
float_cmp = "warn"
float_cmp_const = "warn"
get_unwrap = "warn"
if_let_mutex = "warn"
invalid_upcast_comparisons = "warn"
iter_not_returning_iterator = "warn"
large_enum_variant = "warn"
large_futures = "warn"
let_underscore_future = "warn"
let_underscore_must_use = "warn"
lossy_float_literal = "warn"
manual_let_else = "warn"
map_err_ignore = "warn"
mem_forget = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
multiple_unsafe_ops_per_block = "warn"
panic = "warn"
panic_in_result_fn = "warn"
rc_mutex = "warn"
todo = "warn"
unchecked_time_subtraction = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unused_result_ok = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "deny"