From 542b20ca4376a3b5de5fa629db1a4ace44e18e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20=C3=96dmark?= Date: Sat, 15 Jun 2024 12:31:23 +0200 Subject: [PATCH] Upgrade dependencies, and re-export ttf-parser so that dependents can verify fonts using the same ttf-parser version --- Cargo.toml | 6 +++--- src/font/mod.rs | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a927f2b..89609ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/font/mod.rs b/src/font/mod.rs index e5a8b58..c554166 100644 --- a/src/font/mod.rs +++ b/src/font/mod.rs @@ -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;