Upgrade dependencies, and re-export ttf-parser so that dependents can verify fonts using the same ttf-parser version

This commit is contained in:
Kristoffer Ödmark 2024-06-15 12:31:23 +02:00 committed by Jeremy Soller
parent 8bb45d7aca
commit 542b20ca43
2 changed files with 6 additions and 3 deletions

View file

@ -12,19 +12,19 @@ rust-version = "1.65"
[dependencies]
bitflags = "2.4.1"
cosmic_undo_2 = { version = "0.2.0", optional = true }
fontdb = { version = "0.16.0", default-features = false }
fontdb = { version = "0.18", default-features = false }
hashbrown = { version = "0.14.1", optional = true, default-features = false }
libm = { version = "0.2.8", optional = true }
log = "0.4.20"
modit = { version = "0.1.4", optional = true }
rangemap = "1.4.0"
rustc-hash = { version = "1.1.0", default-features = false }
rustybuzz = { version = "0.12.0", default-features = false, features = ["libm"] }
rustybuzz = { version = "0.14.0", default-features = false, features = ["libm"] }
self_cell = "1.0.1"
swash = { version = "0.1.12", optional = true }
syntect = { version = "5.1.0", optional = true }
sys-locale = { version = "0.3.1", optional = true }
ttf-parser = { version = "0.20.0", default-features = false }
ttf-parser = { version = "0.21", default-features = false }
unicode-linebreak = "0.1.5"
unicode-script = "0.5.5"
unicode-segmentation = "1.10.1"

View file

@ -1,6 +1,9 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pub(crate) mod fallback;
// re-export ttf_parser
pub use ttf_parser;
use core::fmt;
use alloc::sync::Arc;