[package]
edition = "2024"
rust-version = "1.97.1"
name = "daegun"
version = "1.2.0"
build = false
exclude = [
"tasks/",
".gitignore",
"assets/",
"scripts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The text engine that hands your rasterizer everything it needs. Rust, no_std, zero dependencies."
homepage = "https://dg.calia.cc"
readme = "README.md"
keywords = [
"font",
"opentype",
"truetype",
"variable-fonts",
"subsetting",
]
categories = [
"text-processing",
"parser-implementations",
"no-std",
]
license = "MIT"
repository = "https://github.com/zztaeha/daegun"
[features]
capi = ["threading"]
default = ["std"]
std = []
threading = ["std"]
[lib]
name = "daegun"
path = "src/daegun/lib.rs"
[[test]]
name = "alloc"
path = "src/daegun/tests/alloc/main.rs"
[[test]]
name = "api"
path = "src/daegun/tests/api/main.rs"
[[test]]
name = "fingerprint"
path = "src/daecore/tests/fingerprint/main.rs"
[[test]]
name = "machine"
path = "src/daecore/tests/machine/main.rs"
[[test]]
name = "shaper"
path = "src/daecore/tests/shaper/main.rs"
[[test]]
name = "type"
path = "src/daecore/tests/type/main.rs"
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[profile.pmu]
debug = 2
split-debuginfo = "packed"
inherits = "release"
strip = "none"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
overflow-checks = false
strip = "debuginfo"