Remove unused image dependency (all core2 versions yanked)#115
Open
setoelkahfi wants to merge 1 commit into
Open
Remove unused image dependency (all core2 versions yanked)#115setoelkahfi wants to merge 1 commit into
image dependency (all core2 versions yanked)#115setoelkahfi wants to merge 1 commit into
Conversation
The `image` crate is not referenced anywhere in src/ — no `use image`, no `extern crate image`. However, it transitively depends on: image → avif (default features) → ravif → rav1e → bitstream-io → core2 All versions of `core2` were yanked on 2026-04-14, which means any fresh `cargo build` or `cargo add openai-harmony` now fails with: error[E0463]: can't find crate for `core2` Removing the unused dependency unblocks downstream consumers with no functional impact.
Author
|
Small bump in case this got buried. This PR just removes an unused |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
image = "0.25.6"is listed in[dependencies], but I could not find it used anywhere insrc/. Nouse image, noextern crate image.That would be harmless if the crate still resolved cleanly. It does not.
imageenables AVIF support by default, which pulls inravif->rav1e->bitstream-io->core2. Every published version ofcore2was yanked on April 14, 2026, so a freshcargo buildofopenai-harmonynow fails because Cargo cannot resolve that chain.This PR removes the unused dependency and gets fresh downstream installs building again. As a side effect,
Cargo.lockdrops about 15 crates.How I checked
I ran into this while wiring
openai-harmonyinto siGit.