From be1ebb8ad41aff022623d51e56acaf8f45b1f499 Mon Sep 17 00:00:00 2001 From: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> Date: Fri, 27 Jun 2025 12:41:39 +0200 Subject: [PATCH] deps: Update fontsan (#37743) The new fontsan version uses the rust brotli-decompressor crate, instead of vendoring the C brotli library. Since we anyway already depend on rust-brotli, this should reduce our binary size. Testing: Covered by existing tests Fixes: #34521 Signed-off-by: Jonathan Schwender --- Cargo.lock | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 562cea89dc6..14a38dc8a33 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2652,14 +2652,24 @@ dependencies = [ [[package]] name = "fontsan" version = "0.6.0" -source = "git+https://github.com/servo/fontsan#63f3cde9224b5988163e52c6669143f98d71b030" +source = "git+https://github.com/servo/fontsan#212f15c9e36f701597847de94e1dafc9636bdf07" dependencies = [ "cc", + "fontsan-woff2", "glob", "libc", "libz-sys", ] +[[package]] +name = "fontsan-woff2" +version = "0.1.0" +source = "git+https://github.com/servo/fontsan#212f15c9e36f701597847de94e1dafc9636bdf07" +dependencies = [ + "brotli-decompressor", + "cc", +] + [[package]] name = "foreign-types" version = "0.3.2"