Make swash optional, add swash cache abstraction

This commit is contained in:
Jeremy Soller 2022-10-25 10:55:24 -06:00
parent efc5108a2d
commit 1c341f3126
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
7 changed files with 148 additions and 109 deletions

View file

@ -9,13 +9,16 @@ license = "MIT OR Apache-2.0"
fontdb = "0.9"
log = "0.4"
rustybuzz = "0.5"
swash = "0.1"
swash = { version = "0.1", optional = true }
sys-locale = "0.2"
unicode-bidi = "0.3"
unicode-linebreak = "0.1"
unicode-script = "0.5"
unicode-segmentation = "1.7"
[features]
default = ["swash"]
[workspace]
members = [
"examples/*",