termlens 0.1.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.1.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

[features]
default = ["insta"]
insta = ["dep:insta"]

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

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

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

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

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

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

[dependencies.thiserror]
version = "2"

[dependencies.vt100]
version = "0.16"

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

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

[dev-dependencies.unicode-width]
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