[package]
name = "textwrap"
version = "0.13.2"
authors = ["Martin Geisler <martin@geisler.net>"]
description = "Powerful library for word wrapping, indenting, and dedenting strings"
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 = "2018"
exclude = [".github/", ".gitignore", "examples/", "fuzz/"]

[package.metadata.docs.rs]
all-features = true

[badges]
travis-ci = { repository = "mgeisler/textwrap" }
appveyor = { repository = "mgeisler/textwrap" }
codecov = { repository = "mgeisler/textwrap" }

[[bench]]
name = "linear"
harness = false

[features]
default = ["unicode-width", "smawk"]

[dependencies]
smawk = { version = "0.3", optional = true }
unicode-width = { version= "0.1", optional = true }
terminal_size = { version = "0.1", optional = true }
hyphenation = { version = "0.8", optional = true, features = ["embed_en-us"] }

[dev-dependencies]
lipsum = "0.7"
version-sync = "0.9"
criterion = "0.3"

[target.'cfg(unix)'.dev-dependencies]
termion = "1.5"
