termlens 0.11.1

Headless PTY test harness for CLI/TUI apps — spawn in a real PTY, assert on the rendered screen
Documentation
# 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.85"
name = "termlens"
version = "0.11.1"
authors = ["Vyncint Ng <vyncint@icloud.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Headless PTY test harness for CLI/TUI apps — spawn in a real PTY, assert on the rendered screen"
readme = "README.md"
keywords = [
    "pty",
    "terminal",
    "testing",
    "tui",
    "snapshot",
]
categories = [
    "development-tools::testing",
    "command-line-interface",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vyncint/termlens"

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

[features]
decode = ["dep:miniz_oxide"]
default = ["insta"]
insta = ["dep:insta"]
regex = ["dep:regex"]
serde = [
    "dep:serde",
    "dep:serde_json",
]

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

[[example]]
name = "inspect"
path = "examples/inspect.rs"

[[test]]
name = "artifact"
path = "tests/artifact.rs"

[[test]]
name = "backpressure"
path = "tests/backpressure.rs"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "builder_validation"
path = "tests/builder_validation.rs"

[[test]]
name = "charset"
path = "tests/charset.rs"

[[test]]
name = "compat"
path = "tests/compat.rs"

[[test]]
name = "concurrency"
path = "tests/concurrency.rs"

[[test]]
name = "conpty_probe"
path = "tests/conpty_probe.rs"

[[test]]
name = "drain"
path = "tests/drain.rs"

[[test]]
name = "export"
path = "tests/export.rs"

[[test]]
name = "fixtures"
path = "tests/fixtures.rs"

[[test]]
name = "frames"
path = "tests/frames.rs"

[[test]]
name = "graphics"
path = "tests/graphics.rs"

[[test]]
name = "input"
path = "tests/input.rs"

[[test]]
name = "insert_mode"
path = "tests/insert_mode.rs"

[[test]]
name = "inspect"
path = "tests/inspect.rs"

[[test]]
name = "observe"
path = "tests/observe.rs"

[[test]]
name = "process"
path = "tests/process.rs"

[[test]]
name = "queries"
path = "tests/queries.rs"

[[test]]
name = "readme_example"
path = "tests/readme_example.rs"

[[test]]
name = "record"
path = "tests/record.rs"

[[test]]
name = "scrollback"
path = "tests/scrollback.rs"

[[test]]
name = "search"
path = "tests/search.rs"

[[test]]
name = "snapshot_macro"
path = "tests/snapshot_macro.rs"

[[test]]
name = "stable"
path = "tests/stable.rs"

[[test]]
name = "state"
path = "tests/state.rs"

[[test]]
name = "styled_history"
path = "tests/styled_history.rs"

[[test]]
name = "styles"
path = "tests/styles.rs"

[[test]]
name = "tabs"
path = "tests/tabs.rs"

[[test]]
name = "timeouts"
path = "tests/timeouts.rs"

[[test]]
name = "unsupported"
path = "tests/unsupported.rs"

[[test]]
name = "utf8"
path = "tests/utf8.rs"

[[test]]
name = "wrap"
path = "tests/wrap.rs"

[dependencies.insta]
version = "1.48"
features = ["json"]
optional = true

[dependencies.miniz_oxide]
version = "0.9"
optional = true

[dependencies.portable-pty]
version = "0.9"

[dependencies.regex]
version = "1"
optional = true

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.unicode-normalization]
version = "0.1"

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

[dependencies.vt100]
version = "0.16"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.insta]
version = "1.48"
features = ["json"]

[dev-dependencies.serde_json]
version = "1"

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[lints.clippy]
dbg_macro = "warn"
todo = "warn"
unimplemented = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1