-
Notifications
You must be signed in to change notification settings - Fork 45
/
Cargo.toml
47 lines (39 loc) · 1.45 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "textwrap"
version = "0.16.1"
authors = ["Martin Geisler <[email protected]>"]
description = "Library for word wrapping, indenting, and dedenting strings. Has optional support for Unicode and emojis as well as machine hyphenation."
documentation = "https://docs.rs/textwrap/"
repository = "https://github.com/mgeisler/textwrap"
readme = "README.md"
keywords = ["text", "formatting", "wrap", "typesetting", "hyphenation"]
categories = ["text-processing", "command-line-interface"]
license = "MIT"
edition = "2021"
rust-version = "1.66"
exclude = [".github/", ".gitignore", "benchmarks/", "examples/", "fuzz/", "images/"]
[[example]]
name = "hyphenation"
path = "examples/hyphenation.rs"
required-features = ["hyphenation"]
[[example]]
name = "termwidth"
path = "examples/termwidth.rs"
required-features = ["terminal_size"]
[package.metadata.docs.rs]
all-features = true
[features]
default = ["unicode-linebreak", "unicode-width", "smawk"]
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(fuzzing)"] }
[dependencies]
hyphenation = { version = "0.8.4", optional = true, features = ["embed_en-us"] }
smawk = { version = "0.3.2", optional = true }
terminal_size = { version = "0.4.0", optional = true }
unicode-linebreak = { version = "0.1.5", optional = true }
unicode-width = { version = "0.2.0", optional = true }
[dev-dependencies]
unic-emoji-char = "0.9.0"
version-sync = "0.9.5"
[target."cfg(unix)".dev-dependencies]
termion = "4.0.2"