ttf2woff2 0.11.0

A Pure Rust library and CLI for compressing TTF fonts to WOFF2 format.
Documentation
[[bin]]
name = "ttf2woff2"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.brotli]
features = ["disable-timer"]
version = "8"

[dependencies.byteorder]
version = "1"

[dependencies.clap]
features = ["derive"]
optional = true
version = "4"

[dependencies.thiserror]
version = "2"

[features]
cli = ["dep:clap"]
default = ["cli"]

[lib]
name = "ttf2woff2"
path = "src/lib.rs"

[package]
authors = ["kaoru <k@warpnine.io>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["text-processing"]
description = "A Pure Rust library and CLI for compressing TTF fonts to WOFF2 format."
documentation = "https://docs.rs/ttf2woff2"
edition = "2024"
exclude = ["tests/fixtures/*.ttf", "tests/fixtures/golden/*.woff2"]
homepage = "https://github.com/0x6b/ttf2woff2"
keywords = ["fonts", "cli", "woff2", "ttf", "font-conversion"]
license = "MIT OR Apache-2.0"
name = "ttf2woff2"
readme = "README.md"
repository = "https://github.com/0x6b/ttf2woff2"
version = "0.11.0"

[[test]]
name = "encode_test"
path = "tests/encode_test.rs"

[[test]]
name = "fonttools_compat"
path = "tests/fonttools_compat/main.rs"