Pin the harfbuzz-sys version.
@@ -21,7 +21,7 @@ default-target = "x86_64-pc-windows-msvc"
[features]
x11 = ["druid-shell/x11"]
-svg = ["usvg"]
+svg = ["usvg", "harfbuzz-sys"]
[dependencies]
druid-shell = { version = "0.6.0", path = "../druid-shell" }
@@ -41,6 +41,9 @@ instant = { version = "0.1.4", features = ["wasm-bindgen"] }
# Optional dependencies
im = { version = "15.0.0", optional = true }
usvg = { version = "0.9.0", optional = true }
+# We don't depend directly on harfbuzz-sys, it comes through usvg. But we need to pin
+# the version, because the latest release of harfbuzz_rs is broken with harfbuzz-sys 0.5.
+harfbuzz-sys = {version = "0.4", optional = true }
image = { version = "0.23.4", optional = true }
[target.'cfg(target_arch="wasm32")'.dependencies]
