Skip to content

Fix bincode dependency: revert to 2.0.0-rc.3 and remove derive feature#203

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/cargo/bincode-3.0.0
Closed

Fix bincode dependency: revert to 2.0.0-rc.3 and remove derive feature#203
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/cargo/bincode-3.0.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github May 29, 2026

Fixes the build error introduced by updating bincode to 3.0.0. The bincode 3.0.0 package on crates.io is a protest/joke package that unconditionally emits a compile_error! and cannot be compiled. This PR reverts the bincode requirement back to 2.0.0-rc.3 (which resolves to the actual v2.0.1 release) and removes the unused derive feature flag.

Changes Made

  • Version: Reverted bincode from 3.0.0 back to 2.0.0-rc.3 in both Cargo.toml and src/kete_core/Cargo.toml
  • Features: Removed the derive feature (unused in the codebase); retained the serde feature required by bincode::serde::* APIs used throughout the code

Testing

  • cargo check completes successfully, resolving to bincode v2.0.1

Updates the requirements on [bincode](https://github.com/bincode-org/bincode) to permit the latest version.
- [Commits](https://github.com/bincode-org/bincode/commits)

---
updated-dependencies:
- dependency-name: bincode
  dependency-version: 2.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 29, 2026
@annie444
Copy link
Copy Markdown
Collaborator

@copilot fix the build error (remove the derive feature from bincode)

Copy link
Copy Markdown

Copilot AI commented May 29, 2026

@copilot fix the build error (remove the derive feature from bincode)

Done in the latest commit. I also had to revert the version from 3.0.0 back to 2.0.0-rc.3bincode 3.0.0 on crates.io is a joke package that unconditionally emits a compile_error!, so it can't be used at all. With the version reverted and derive removed, cargo check now resolves to bincode v2.0.1 and builds cleanly.

Copilot AI changed the title Update bincode requirement from 2.0.0-rc.3 to 3.0.0 Fix bincode dependency: revert to 2.0.0-rc.3 and remove derive feature May 29, 2026
Copilot AI requested a review from annie444 May 29, 2026 21:34
@annie444
Copy link
Copy Markdown
Collaborator

@dependabot ignore this dependency

@dependabot dependabot Bot closed this May 29, 2026
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github May 29, 2026

OK, I won't notify you about bincode again, unless you re-open this PR.

@dependabot dependabot Bot deleted the dependabot/cargo/bincode-3.0.0 branch May 29, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants