[package]
edition = "2021"
name = "typf-core"
version = "5.0.2"
authors = ["Typf Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types and traits for the Typf text rendering pipeline"
readme = false
license = "Apache-2.0"
repository = "https://github.com/fontlaborg/typf"
[features]
cache-aggressive = []
default = []
parallel = []
simd = []
[lib]
name = "typf_core"
path = "src/lib.rs"
[[test]]
name = "cache_policy"
path = "tests/cache_policy.rs"
[[test]]
name = "glyph_source_preference"
path = "tests/glyph_source_preference.rs"
[dependencies.icu_properties]
version = "2.1"
[dependencies.log]
version = "0.4"
[dependencies.lru]
version = "0.16"
[dependencies.moka]
version = "0.12"
features = ["sync"]
[dependencies.parking_lot]
version = "0.12"
[dependencies.thiserror]
version = "2.0"
[lints.clippy]
cloned_instead_of_copied = "warn"
expect_used = "warn"
inefficient_to_string = "warn"
needless_pass_by_value = "warn"
panic = "warn"
unwrap_used = "deny"
[lints.rust]
unsafe_code = "warn"