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