itsybitsy/text/Cargo.toml

29 lines
956 B
TOML
Raw Permalink Normal View History

2026-10-04 20:27:29 +03:00
[package]
name = "itsybitsy-text"
version = "0.1.0"
edition = "2024"
rust-version = "1.97"
description = "Fixed-width plain text output for itsybitsy"
license = "Apache-2.0"
publish = false
[features]
default = []
# FIGlet banners for headings that ask for one. Off by default: headings are
# underlined, and the two vendored fonts are 40 KiB of the binary.
figlet = []
# Hyphenation when wrapping, English patterns only. Off by default: it needs an
# embedded pattern dictionary for a setting most pages leave alone.
hyphenation = ["dep:hyphenation", "hyphenation/embed_en-us"]
# Every language the hyphenation crate carries, which costs a few megabytes of
# binary; `hyphenation` alone covers the default `en-us`.
hyphenation-all = ["hyphenation", "hyphenation/embed_all"]
2026-10-04 20:27:29 +03:00
[dependencies]
hyphenation = { version = "0.8", default-features = false, optional = true }
log = "0.4"
2026-10-04 20:27:29 +03:00
itsybitsy-core = { path = "../core" }
[lints.rust]
unsafe_code = "forbid"