| 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 = "2021" |
| 14 |
rust-version = "1.56" |
| 15 |
name = "textwrap" |
| 16 |
version = "0.16.1" |
| 17 |
authors = ["Martin Geisler <[email protected]>"] |
| 18 |
exclude = [ |
| 19 |
".github/", |
| 20 |
".gitignore", |
| 21 |
"benchmarks/", |
| 22 |
"examples/", |
| 23 |
"fuzz/", |
| 24 |
"images/", |
| 25 |
] |
| 26 |
description = "Library for word wrapping, indenting, and dedenting strings. Has optional support for Unicode and emojis as well as machine hyphenation." |
| 27 |
documentation = "https://docs.rs/textwrap/" |
| 28 |
readme = "README.md" |
| 29 |
keywords = [ |
| 30 |
"text", |
| 31 |
"formatting", |
| 32 |
"wrap", |
| 33 |
"typesetting", |
| 34 |
"hyphenation", |
| 35 |
] |
| 36 |
categories = [ |
| 37 |
"text-processing", |
| 38 |
"command-line-interface", |
| 39 |
] |
| 40 |
license = "MIT" |
| 41 |
repository = "https://github.com/mgeisler/textwrap" |
| 42 |
|
| 43 |
[package.metadata.docs.rs] |
| 44 |
all-features = true |
| 45 |
|
| 46 |
[[example]] |
| 47 |
name = "hyphenation" |
| 48 |
path = "examples/hyphenation.rs" |
| 49 |
required-features = ["hyphenation"] |
| 50 |
|
| 51 |
[[example]] |
| 52 |
name = "termwidth" |
| 53 |
path = "examples/termwidth.rs" |
| 54 |
required-features = ["terminal_size"] |
| 55 |
|
| 56 |
[dependencies.hyphenation] |
| 57 |
version = "0.8.4" |
| 58 |
features = ["embed_en-us"] |
| 59 |
optional = true |
| 60 |
|
| 61 |
[dependencies.smawk] |
| 62 |
version = "0.3.1" |
| 63 |
optional = true |
| 64 |
|
| 65 |
[dependencies.terminal_size] |
| 66 |
version = "0.2.1" |
| 67 |
optional = true |
| 68 |
|
| 69 |
[dependencies.unicode-linebreak] |
| 70 |
version = "0.1.4" |
| 71 |
optional = true |
| 72 |
|
| 73 |
[dependencies.unicode-width] |
| 74 |
version = "0.1.10" |
| 75 |
optional = true |
| 76 |
|
| 77 |
[dev-dependencies.unic-emoji-char] |
| 78 |
version = "0.9.0" |
| 79 |
|
| 80 |
[dev-dependencies.version-sync] |
| 81 |
version = "0.9.4" |
| 82 |
|
| 83 |
[features] |
| 84 |
default = [ |
| 85 |
"unicode-linebreak", |
| 86 |
"unicode-width", |
| 87 |
"smawk", |
| 88 |
] |
| 89 |
|
| 90 |
[target."cfg(unix)".dev-dependencies.termion] |
| 91 |
version = "2.0.1" |