From 0b608602d1a4ff04d1a0faf271b8384acebefcd1 Mon Sep 17 00:00:00 2001 From: meehl <12648828+meehl@users.noreply.github.com> Date: Wed, 2 Sep 2026 18:03:56 +0200 Subject: [PATCH] Disable the `system` feature for `parley` System fonts are not needed since we provide our own custom fonts. Disabling the system feature also removes the dependency on fontconfig during compilation, which was previously undocumented. --- Cargo.lock | 38 -------------------------------------- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 39 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c83ac6c..594e057 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1056,17 +1056,9 @@ dependencies = [ "hashbrown 0.17.1", "linebender_resource_handle", "memmap2", - "objc2 0.6.4", - "objc2-core-foundation", - "objc2-core-text", - "objc2-foundation 0.3.2", "parlance", "read-fonts", - "roxmltree", "smallvec", - "windows", - "windows-core", - "yeslogic-fontconfig-sys", ] [[package]] @@ -2305,16 +2297,6 @@ dependencies = [ "objc2-foundation 0.2.2", ] -[[package]] -name = "objc2-core-text" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d" -dependencies = [ - "bitflags 2.13.1", - "objc2-core-foundation", -] - [[package]] name = "objc2-encode" version = "4.1.0" @@ -3223,15 +3205,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "roxmltree" -version = "0.21.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1964b10c76125c36f8afe190065a4bf9a87bf324842c05701330bba9f1cacbb" -dependencies = [ - "memchr", -] - [[package]] name = "rustc-hash" version = "1.1.0" @@ -4915,17 +4888,6 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e01738255b5a16e78bbb83e7fbba0a1e7dd506905cfc53f4622d89015a03fbb5" -[[package]] -name = "yeslogic-fontconfig-sys" -version = "6.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d8b8abf912b9a29ff112e1671c97c33636903d13a69712037190e6805af4f76" -dependencies = [ - "dlib", - "once_cell", - "pkg-config", -] - [[package]] name = "yoke" version = "0.8.3" diff --git a/Cargo.toml b/Cargo.toml index 48f5cc2..e6f5f71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ nohash-hasher = "0.2.0" num-traits = "0.2.19" open = "5.3.2" ordered-float = "5.0.0" -parley = "0.11.0" +parley = { version = "0.11.0", default-features = false, features = ["std"] } pollster = "1.0" profiling = "1.0" puffin_http = { version = "0.17", optional = true }