1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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.
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.
16 authors = ["Martin Geisler <martin@geisler.net>"]
17 exclude = [".github/", ".gitignore", "benches/", "examples/", "fuzz/", "images/"]
18 description = "Powerful library for word wrapping, indenting, and dedenting strings"
19 documentation = "https://docs.rs/textwrap/"
21 keywords = ["text", "formatting", "wrap", "typesetting", "hyphenation"]
22 categories = ["text-processing", "command-line-interface"]
24 repository = "https://github.com/mgeisler/textwrap"
25 [package.metadata.docs.rs]
30 path = "examples/hyphenation.rs"
31 required-features = ["hyphenation"]
35 path = "examples/termwidth.rs"
36 required-features = ["terminal_size"]
40 path = "benches/linear.rs"
45 path = "benches/indent.rs"
47 [dependencies.hyphenation]
49 features = ["embed_en-us"]
56 [dependencies.terminal_size]
60 [dependencies.unicode-linebreak]
64 [dependencies.unicode-width]
67 [dev-dependencies.criterion]
70 [dev-dependencies.lipsum]
73 [dev-dependencies.unic-emoji-char]
76 [dev-dependencies.version-sync]
80 default = ["unicode-linebreak", "unicode-width", "smawk"]
81 [target."cfg(unix)".dev-dependencies.termion]