diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2023-07-04 15:51:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-04 15:51:18 +0200 |
| commit | 224e1df8e5afcf5c21a7769a6dc9cd47ffebd460 (patch) | |
| tree | 896edeff720ff03c94e8a666daeafce7548897c7 /tests | |
| parent | 5c6f6b6c8a6188a25c488eb0129787eaa715291d (diff) | |
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.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
