Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 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 |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 6 | # to registry (e.g., crates.io) dependencies. |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 7 | # |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 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. |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 11 | |
| 12 | [package] |
Haibo Huang | 5db8991 | 2020-08-27 21:46:09 -0700 | [diff] [blame] | 13 | edition = "2018" |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 14 | name = "textwrap" |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 15 | version = "0.15.0" |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 16 | authors = ["Martin Geisler <martin@geisler.net>"] |
Thiébaud Weksteen | 1d19096 | 2021-02-22 11:47:45 +0100 | [diff] [blame] | 17 | exclude = [".github/", ".gitignore", "benches/", "examples/", "fuzz/", "images/"] |
| 18 | description = "Powerful library for word wrapping, indenting, and dedenting strings" |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 19 | documentation = "https://docs.rs/textwrap/" |
| 20 | readme = "README.md" |
| 21 | keywords = ["text", "formatting", "wrap", "typesetting", "hyphenation"] |
| 22 | categories = ["text-processing", "command-line-interface"] |
| 23 | license = "MIT" |
| 24 | repository = "https://github.com/mgeisler/textwrap" |
| 25 | [package.metadata.docs.rs] |
| 26 | all-features = true |
Thiébaud Weksteen | 1d19096 | 2021-02-22 11:47:45 +0100 | [diff] [blame] | 27 | |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 28 | [[example]] |
| 29 | name = "hyphenation" |
| 30 | path = "examples/hyphenation.rs" |
| 31 | required-features = ["hyphenation"] |
| 32 | |
| 33 | [[example]] |
| 34 | name = "termwidth" |
| 35 | path = "examples/termwidth.rs" |
| 36 | required-features = ["terminal_size"] |
| 37 | |
Thiébaud Weksteen | 1d19096 | 2021-02-22 11:47:45 +0100 | [diff] [blame] | 38 | [[bench]] |
| 39 | name = "linear" |
| 40 | path = "benches/linear.rs" |
| 41 | harness = false |
Joel Galenson | 6234ec1 | 2021-06-21 14:10:04 -0700 | [diff] [blame] | 42 | |
| 43 | [[bench]] |
| 44 | name = "indent" |
| 45 | path = "benches/indent.rs" |
| 46 | harness = false |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 47 | [dependencies.hyphenation] |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 48 | version = "0.8.4" |
Haibo Huang | 5db8991 | 2020-08-27 21:46:09 -0700 | [diff] [blame] | 49 | features = ["embed_en-us"] |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 50 | optional = true |
| 51 | |
Thiébaud Weksteen | 1d19096 | 2021-02-22 11:47:45 +0100 | [diff] [blame] | 52 | [dependencies.smawk] |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 53 | version = "0.3.1" |
Thiébaud Weksteen | 1d19096 | 2021-02-22 11:47:45 +0100 | [diff] [blame] | 54 | optional = true |
| 55 | |
Haibo Huang | 5db8991 | 2020-08-27 21:46:09 -0700 | [diff] [blame] | 56 | [dependencies.terminal_size] |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 57 | version = "0.1.17" |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 58 | optional = true |
| 59 | |
Joel Galenson | 6234ec1 | 2021-06-21 14:10:04 -0700 | [diff] [blame] | 60 | [dependencies.unicode-linebreak] |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 61 | version = "0.1.2" |
Joel Galenson | 6234ec1 | 2021-06-21 14:10:04 -0700 | [diff] [blame] | 62 | optional = true |
| 63 | |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 64 | [dependencies.unicode-width] |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 65 | version = "0.1.9" |
Thiébaud Weksteen | 1d19096 | 2021-02-22 11:47:45 +0100 | [diff] [blame] | 66 | optional = true |
| 67 | [dev-dependencies.criterion] |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 68 | version = "0.3.5" |
Thiébaud Weksteen | 1d19096 | 2021-02-22 11:47:45 +0100 | [diff] [blame] | 69 | |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 70 | [dev-dependencies.lipsum] |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 71 | version = "0.8.0" |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 72 | |
Thiébaud Weksteen | 1d19096 | 2021-02-22 11:47:45 +0100 | [diff] [blame] | 73 | [dev-dependencies.unic-emoji-char] |
| 74 | version = "0.9.0" |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 75 | |
| 76 | [dev-dependencies.version-sync] |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 77 | version = "0.9.4" |
Matthew Maurer | ecc4a6b | 2020-06-02 11:15:26 -0700 | [diff] [blame] | 78 | |
Thiébaud Weksteen | 1d19096 | 2021-02-22 11:47:45 +0100 | [diff] [blame] | 79 | [features] |
Joel Galenson | 6234ec1 | 2021-06-21 14:10:04 -0700 | [diff] [blame] | 80 | default = ["unicode-linebreak", "unicode-width", "smawk"] |
Thiébaud Weksteen | 1d19096 | 2021-02-22 11:47:45 +0100 | [diff] [blame] | 81 | [target."cfg(unix)".dev-dependencies.termion] |
David LeGare | 30ca485 | 2022-03-02 16:21:16 +0000 | [diff] [blame] | 82 | version = "1.5.6" |