fix: replace bincode with wincode in beacon #17

Merged
SakulFlee merged 1 commit from fix/837-wincode into master 2026-10-22 00:00:16 +00:00

Summary

Replaces the unmaintained bincode crate (RUSTSEC-2025-0141) with wincode in iced_beacon.

  • Uses serde_wincode::SerdeCompat<T> at the encode/decode boundary, so existing serde derives and third-party serde-only types (web_time, semver::Version, palette::Seed) keep working.
  • wincode's DefaultConfig is bincode 1.x-compatible, matching the previous bincode::config::legacy() wire format.
  • Swaps the decode error type to wincode::error::ReadError.
  • Adds round-trip tests for all Message/Event variants and a byte-level test for Command that pins the bincode-legacy wire format.

Companion Orbital PR: updates the workspace dependency, bumps this submodule, and removes the Renovate bincode tombstone rule.

Refs SakulFlee/Orbital#837

Verification

cargo test -p iced_beacon --locked
cargo clippy -p iced_beacon -- -D warnings
cargo fmt --all -- --check
## Summary Replaces the unmaintained `bincode` crate (RUSTSEC-2025-0141) with `wincode` in `iced_beacon`. - Uses `serde_wincode::SerdeCompat<T>` at the encode/decode boundary, so existing serde derives and third-party serde-only types (`web_time`, `semver::Version`, `palette::Seed`) keep working. - `wincode`'s `DefaultConfig` is bincode 1.x-compatible, matching the previous `bincode::config::legacy()` wire format. - Swaps the decode error type to `wincode::error::ReadError`. - Adds round-trip tests for all `Message`/`Event` variants and a byte-level test for `Command` that pins the bincode-legacy wire format. Companion Orbital PR: updates the workspace dependency, bumps this submodule, and removes the Renovate bincode tombstone rule. Refs SakulFlee/Orbital#837 ## Verification ``` cargo test -p iced_beacon --locked cargo clippy -p iced_beacon -- -D warnings cargo fmt --all -- --check ```
fix: replace bincode with wincode in beacon
Some checks failed
Check / check (push) Failing after 3s
Check / check (pull_request) Failing after 3s
f09e1011e4

Merge order: merge this PR first, then merge SakulFlee/Orbital#887 (it bumps the submodule pointer to this commit).

Merge order: merge this PR first, then merge SakulFlee/Orbital#887 (it bumps the submodule pointer to this commit).
SakulFlee merged commit a149a8452c into master 2026-10-22 00:00:16 +00:00
SakulFlee deleted branch fix/837-wincode 2026-10-22 00:00:17 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SakulFlee/Orbital-Iced!17
No description provided.