[package]
edition = "2024"
rust-version = "1.85"
name = "prismtty"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast terminal output highlighter focused on network devices and Unix systems"
homepage = "https://github.com/inxbit/prismtty"
documentation = "https://docs.rs/prismtty"
readme = "README.md"
keywords = [
"terminal",
"highlighting",
"network",
"cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/inxbit/prismtty"
[features]
completion-generation = ["dep:clap_complete"]
[lib]
name = "prismtty"
path = "src/lib.rs"
[[bin]]
name = "ct"
path = "src/bin/ct.rs"
[[bin]]
name = "gen-completions"
path = "src/bin/gen-completions.rs"
required-features = ["completion-generation"]
[[bin]]
name = "prismtty"
path = "src/main.rs"
[[bin]]
name = "ptty"
path = "src/bin/ptty.rs"
[[example]]
name = "throughput"
path = "examples/throughput.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "config_and_highlight"
path = "tests/config_and_highlight.rs"
[[test]]
name = "replay"
path = "tests/replay.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.clap_complete]
version = "4.5"
optional = true
[dependencies.directories]
version = "6.0"
[dependencies.is-terminal]
version = "0.4"
[dependencies.nix]
version = "0.31"
features = ["term"]
[dependencies.pcre2]
version = "0.2"
[dependencies.portable-pty]
version = "0.9"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_norway]
version = "0.9.42"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.tempfile]
version = "3.14"