[package]
name = "comfy-table"
description = "An easy to use library for building beautiful tables with automatic content wrapping"
version = "7.1.3"
authors = ["Arne Beer <contact@arne.beer>"]
homepage = "https://github.com/nukesor/comfy-table"
repository = "https://github.com/nukesor/comfy-table"
documentation = "https://docs.rs/comfy-table/"
license = "MIT"
keywords = ["terminal", "table", "unicode"]
readme = "README.md"
rust-version = "1.64"
edition = "2021"
[badges]
maintenance = { status = "actively-developed" }
[[bench]]
name = "build_tables"
harness = false
[[bench]]
name = "build_large_table"
harness = false
[[example]]
name = "no_tty"
path = "examples/readme_table_no_tty.rs"
[[example]]
name = "readme_table"
path = "examples/readme_table.rs"
[[example]]
name = "inner_style"
path = "examples/inner_style.rs"
required-features = ["custom_styling"]
[features]
default = ["tty"]
tty = ["crossterm"]
custom_styling = ["ansi-str", "console", "tty"]
reexport_crossterm = ["tty"]
debug = []
integration_test = []
[dependencies]
strum = "0.26"
strum_macros = "0.26"
unicode-width = "0.2"
ansi-str = { version = "0.8", optional = true }
console = { version = "0.15", optional = true }
[dev-dependencies]
criterion = "0.5"
pretty_assertions = "1"
proptest = "1"
rand = "0.8"
rstest = "0.23"
[target.'cfg(not(windows))'.dependencies]
crossterm = { version = "0.28", optional=true, default-features = false }
[target.'cfg(windows)'.dependencies]
crossterm = { version = "0.28", optional=true, default-features = false, features=["windows"] }