Skip to content

Replace bincode with serde-wincode - #694

Open
SebTardif wants to merge 1 commit into
trishume:masterfrom
SebTardif:replace-bincode-with-serde-wincode
Open

Replace bincode with serde-wincode#694
SebTardif wants to merge 1 commit into
trishume:masterfrom
SebTardif:replace-bincode-with-serde-wincode

Conversation

@SebTardif

Copy link
Copy Markdown

Replace the unmaintained bincode crate (RUSTSEC-2025-0141) with serde-wincode, the serde compatibility layer for wincode. wincode is the successor recommended by the bincode maintainers and produces byte-compatible output with bincode 1.3.

Since #625 already removed bincode types from the public API, this is a non-breaking internal dependency swap. Existing .packdump and .themedump files continue to work without regeneration, as confirmed by the existing has_default_themes, can_dump_and_load, and dump_is_deterministic tests.

Closes #606

Replace the unmaintained bincode crate (RUSTSEC-2025-0141) with
serde-wincode, the serde compatibility layer for the wincode crate.
wincode is the recommended successor by the bincode maintainers and
is byte-compatible with bincode 1.3, so existing .packdump and
.themedump files continue to work without regeneration.

Closes trishume#606
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replacement for bincode as a dep?

1 participant