| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2024" |
| 14 |
name = "comfy-table" |
| 15 |
version = "7.2.2" |
| 16 |
authors = ["Arne Beer <[email protected]>"] |
| 17 |
build = false |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "An easy to use library for building beautiful tables with automatic content wrapping" |
| 24 |
homepage = "https://github.com/nukesor/comfy-table" |
| 25 |
documentation = "https://docs.rs/comfy-table/" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"table", |
| 29 |
"terminal", |
| 30 |
"unicode", |
| 31 |
] |
| 32 |
license = "MIT" |
| 33 |
repository = "https://github.com/nukesor/comfy-table" |
| 34 |
|
| 35 |
[badges.maintenance] |
| 36 |
status = "actively-developed" |
| 37 |
|
| 38 |
[features] |
| 39 |
_debug = [] |
| 40 |
_integration_test = [] |
| 41 |
custom_styling = [ |
| 42 |
"dep:ansi-str", |
| 43 |
"dep:console", |
| 44 |
"tty", |
| 45 |
] |
| 46 |
default = ["tty"] |
| 47 |
reexport_crossterm = ["tty"] |
| 48 |
tty = ["dep:crossterm"] |
| 49 |
|
| 50 |
[lib] |
| 51 |
name = "comfy_table" |
| 52 |
path = "src/lib.rs" |
| 53 |
|
| 54 |
[[example]] |
| 55 |
name = "inner_style" |
| 56 |
path = "examples/inner_style.rs" |
| 57 |
required-features = ["custom_styling"] |
| 58 |
|
| 59 |
[[example]] |
| 60 |
name = "no_tty" |
| 61 |
path = "examples/readme_table_no_tty.rs" |
| 62 |
|
| 63 |
[[example]] |
| 64 |
name = "readme_table" |
| 65 |
required-features = ["tty"] |
| 66 |
path = "examples/readme_table.rs" |
| 67 |
|
| 68 |
[[test]] |
| 69 |
name = "all_tests" |
| 70 |
path = "tests/all_tests.rs" |
| 71 |
|
| 72 |
[[disabled.bench]] |
| 73 |
name = "build_large_table" |
| 74 |
path = "benches/build_large_table.rs" |
| 75 |
harness = false |
| 76 |
|
| 77 |
[[disabled.bench]] |
| 78 |
name = "build_tables" |
| 79 |
path = "benches/build_tables.rs" |
| 80 |
harness = false |
| 81 |
|
| 82 |
[dependencies.ansi-str] |
| 83 |
version = "0.9" |
| 84 |
optional = true |
| 85 |
|
| 86 |
[dependencies.console] |
| 87 |
version = "0.16" |
| 88 |
optional = true |
| 89 |
|
| 90 |
[dependencies.unicode-segmentation] |
| 91 |
version = "1" |
| 92 |
|
| 93 |
[dependencies.unicode-width] |
| 94 |
version = "0.2" |
| 95 |
|
| 96 |
[disabled.dev-dependencies.criterion] |
| 97 |
version = "0.8" |
| 98 |
|
| 99 |
[dev-dependencies.pretty_assertions] |
| 100 |
version = "1" |
| 101 |
|
| 102 |
[dev-dependencies.proptest] |
| 103 |
version = "1" |
| 104 |
|
| 105 |
[dev-dependencies.rand] |
| 106 |
version = "0.9" |
| 107 |
|
| 108 |
[dev-dependencies.rstest] |
| 109 |
version = "0.26" |
| 110 |
|
| 111 |
[target."cfg(not(windows))".dependencies.crossterm] |
| 112 |
version = "0.29" |
| 113 |
optional = true |
| 114 |
default-features = false |
| 115 |
|
| 116 |
[disabled.target."cfg(windows)".dependencies.crossterm] |
| 117 |
version = "0.29" |
| 118 |
features = ["windows"] |
| 119 |
optional = true |
| 120 |
default-features = false |