[package]
name = "rich_rust"
version = "0.1.1"
edition = "2024"
description = "A Rust port of Python's Rich library for beautiful terminal output"
authors = ["Jeffrey Emanuel"]
license = "MIT"
repository = "https://github.com/Dicklesworthstone/rich_rust"
homepage = "https://github.com/Dicklesworthstone/rich_rust"
documentation = "https://docs.rs/rich_rust"
readme = "README.md"
keywords = ["terminal", "cli", "rich", "ansi", "formatting"]
categories = ["command-line-interface", "text-processing"]
[dependencies]
bitflags = "2.10"
regex = "1.12"
crossterm = "0.29"
unicode-width = ">=0.2.0, <0.3"
lru = "0.16"
log = { version = "0.4", features = ["std"] }
time = { version = "0.3.36", features = ["local-offset", "formatting"] }
tracing = { version = "0.1.44", optional = true }
tracing-subscriber = { version = "0.3.22", optional = true, features = ["fmt"] }
num-rational = "0.4.2"
once_cell = "1.21"
syntect = { version = "5.3", optional = true }
pulldown-cmark = { version = "0.13", optional = true }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]
criterion = "0.8"
serde_json = "1.0"
proptest = "1.6"
insta = { version = "1.46", features = ["glob", "filters"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", features = ["env-filter", "fmt", "json"] }
tracing-test = "0.2.5"
test-log = { version = "0.2.19", features = ["trace"] }
[features]
default = []
conformance_test = []
syntax = ["syntect"]
markdown = ["pulldown-cmark"]
json = ["serde_json"]
tracing = ["dep:tracing", "dep:tracing-subscriber"]
full = ["syntax", "markdown", "json"]
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true
[[example]]
name = "basic"
path = "examples/basic.rs"
[[bench]]
name = "render_bench"
harness = false