From 224e1df8e5afcf5c21a7769a6dc9cd47ffebd460 Mon Sep 17 00:00:00 2001 From: LingMan Date: Tue, 4 Jul 2023 15:51:18 +0200 Subject: Disable `binary` feature of `oxipng` (#1640) The `oxipng` crate contains a binary target in addition to the library target. Said binary has additional dependencies which are not needed by users of the library. Since Cargo unfortunately doesn't currently offer a good way to express such binary-only dependencies, they are enabled by default via the `binary` feature. Avoid downloading and building these unnecessary crates by disabling the `binary` feature. --- tests/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 44dd62a5..46ada9b1 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -12,7 +12,7 @@ typst-library = { path = "../crates/typst-library" } comemo = "0.3" iai = { git = "https://github.com/reknih/iai" } once_cell = "1" -oxipng = "8.0.0" +oxipng = { version = "8.0.0", default-features = false, features = ["filetime", "parallel", "zopfli"] } rayon = "1.7.0" tiny-skia = "0.9.0" ttf-parser = "0.18.1" -- cgit v1.2.3