From e6e99b9ae83395f7ab7eec4c079a1606965c520a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 07:53:53 +0000 Subject: [PATCH] fix(deps): update rust crate fontdb to 0.21 --- Cargo.lock | 34 +++++++++++++++++++++++++++++- crates/components/media/Cargo.toml | 2 +- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e3935ecda..f95160929 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1599,6 +1599,15 @@ dependencies = [ "objc", ] +[[package]] +name = "core_maths" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3b02505ccb8c50b0aa21ace0fc08c3e53adebd4e58caa18a36152803c7709a3" +dependencies = [ + "libm", +] + [[package]] name = "coreaudio-rs" version = "0.11.3" @@ -2978,6 +2987,20 @@ dependencies = [ "ttf-parser 0.21.1", ] +[[package]] +name = "fontdb" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37be9fc20d966be438cd57a45767f73349477fb0f85ce86e000557f787298afb" +dependencies = [ + "fontconfig-parser", + "log", + "memmap2", + "slotmap", + "tinyvec", + "ttf-parser 0.24.1", +] + [[package]] name = "foreign-types" version = "0.3.2" @@ -5560,7 +5583,7 @@ dependencies = [ "async-walkdir", "dashmap", "ffmpeg-the-third", - "fontdb 0.16.1", + "fontdb 0.21.0", "futures", "id3", "image 0.25.2", @@ -10301,6 +10324,15 @@ version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c591d83f69777866b9126b24c6dd9a18351f177e49d625920d19f989fd31cf8" +[[package]] +name = "ttf-parser" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be21190ff5d38e8b4a2d3b6a3ae57f612cc39c96e83cedeaf7abc338a8bac4a" +dependencies = [ + "core_maths", +] + [[package]] name = "type-map" version = "0.5.0" diff --git a/crates/components/media/Cargo.toml b/crates/components/media/Cargo.toml index 9ba9da4f0..9b3c7e996 100644 --- a/crates/components/media/Cargo.toml +++ b/crates/components/media/Cargo.toml @@ -18,7 +18,7 @@ futures = "0.3" tokio = { version = "1.37", features = ["fs", "rt", "io-util"] } async-walkdir = "2.0" resvg = "0.41" -fontdb = "0.16" +fontdb = "0.21" symphonia = { version = "0.5", features = ["all-codecs", "all-formats"] } ffmpeg-the-third = "2.0" dashmap = "6.0"