[package]
edition = "2024"
name = "comfy-table"
version = "8.0.0"
authors = ["Arne Beer <contact@arne.beer>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An easy to use library for building beautiful tables with automatic content wrapping"
homepage = "https://github.com/nukesor/comfy-table"
documentation = "https://docs.rs/comfy-table/"
readme = "README.md"
keywords = [
"table",
"terminal",
"unicode",
]
license = "MIT"
repository = "https://github.com/nukesor/comfy-table"
[badges.maintenance]
status = "actively-developed"
[features]
_debug = []
_integration_test = []
custom_styling = [
"dep:ansi-str",
"dep:console",
"tty",
]
default = ["tty"]
reexport_crossterm = ["tty"]
tty = ["dep:crossterm"]
[lib]
name = "comfy_table"
path = "src/lib.rs"
[[example]]
name = "inner_style"
path = "examples/inner_style.rs"
required-features = ["custom_styling"]
[[example]]
name = "no_tty"
path = "examples/readme_table_no_tty.rs"
[[example]]
name = "readme_table"
path = "examples/readme_table.rs"
[[test]]
name = "all_tests"
path = "tests/all_tests.rs"
[[bench]]
name = "build_large_table"
path = "benches/build_large_table.rs"
harness = false
[[bench]]
name = "build_tables"
path = "benches/build_tables.rs"
harness = false
[dependencies.ansi-str]
version = "0.9"
optional = true
[dependencies.console]
version = "0.16"
optional = true
[dependencies.unicode-segmentation]
version = "1"
[dependencies.unicode-width]
version = "0.2"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rand]
version = "0.10"
[dev-dependencies.rstest]
version = "0.26"
[target."cfg(not(windows))".dependencies.crossterm]
version = "0.29"
optional = true
default-features = false
[target."cfg(windows)".dependencies.crossterm]
version = "0.29"
features = ["windows"]
optional = true
default-features = false