• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"
14rust-version = "1.70"
15name = "textwrap"
16version = "0.16.2"
17authors = ["Martin Geisler <martin@geisler.net>"]
18build = false
19exclude = [
20    ".github/",
21    ".gitignore",
22    "benchmarks/",
23    "examples/",
24    "fuzz/",
25    "images/",
26]
27autolib = false
28autobins = false
29autoexamples = false
30autotests = false
31autobenches = false
32description = "Library for word wrapping, indenting, and dedenting strings. Has optional support for Unicode and emojis as well as machine hyphenation."
33documentation = "https://docs.rs/textwrap/"
34readme = "README.md"
35keywords = [
36    "text",
37    "formatting",
38    "wrap",
39    "typesetting",
40    "hyphenation",
41]
42categories = [
43    "text-processing",
44    "command-line-interface",
45]
46license = "MIT"
47repository = "https://github.com/mgeisler/textwrap"
48
49[package.metadata.docs.rs]
50all-features = true
51
52[features]
53default = [
54    "unicode-linebreak",
55    "unicode-width",
56    "smawk",
57]
58
59[lib]
60name = "textwrap"
61path = "src/lib.rs"
62
63[[test]]
64name = "indent"
65path = "tests/indent.rs"
66
67[[test]]
68name = "version-numbers"
69path = "tests/version-numbers.rs"
70
71[dependencies.hyphenation]
72version = "0.8.4"
73features = ["embed_en-us"]
74optional = true
75
76[dependencies.smawk]
77version = "0.3.2"
78optional = true
79
80[dependencies.terminal_size]
81version = "0.4.0"
82optional = true
83
84[dependencies.unicode-linebreak]
85version = "0.1.5"
86optional = true
87
88[dependencies.unicode-width]
89version = "0.2.0"
90optional = true
91
92[dev-dependencies.unic-emoji-char]
93version = "0.9.0"
94
95[dev-dependencies.version-sync]
96version = "0.9.5"
97
98[target."cfg(unix)".dev-dependencies.termion]
99version = "4.0.2"
100
101[lints.rust.unexpected_cfgs]
102level = "warn"
103priority = 0
104check-cfg = ["cfg(fuzzing)"]
105