[package]
edition = "2024"
name = "ttf-view"
version = "0.4.0"
authors = ["Chasmical <kaz@chsm.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A TrueType/OpenType font parsing/viewing library and a CLI tool."
readme = "README.md"
keywords = []
categories = []
license = "MIT OR Apache-2.0"
repository = "https://github.com/Chasmical/ttf-view"
[features]
cli = ["dep:termal"]
default = ["non-standard-encodings"]
non-standard-encodings = ["dep:encoding_rs"]
[lib]
name = "ttf_view"
path = "src/lib.rs"
[[bin]]
name = "ttf-view"
path = "src/main.rs"
required-features = ["cli"]
[dependencies.bitflags]
version = "2.13.2"
[dependencies.chrono]
version = "0.4.45"
[dependencies.encoding_rs]
version = "0.8.41"
optional = true
[dependencies.lcid]
version = "0.3.0"
[dependencies.termal]
version = "5.1.1"
optional = true
[dependencies.thiserror]
version = "2.0.20"
[dependencies.zerocopy]
version = "0.8.57"