fix(deps): replace bincode with wincode (#837) #887

Merged
SakulFlee merged 1 commit from fix/837-wincode-migration into main 2026-10-22 00:00:37 +00:00

Summary

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

  • Bumps Crates/orbital-iced to the beacon migration commit.
  • Replaces the workspace bincode dependency with wincode 0.6 and serde-wincode 0.1.
  • Removes the Renovate bincode < 3.0.0 tombstone rule, since bincode is no longer a direct dependency.
  • Updates Cargo.lock.

Companion PR: SakulFlee/Orbital-Iced#17

Wire compatibility

The beacon previously used bincode::config::legacy() (bincode 1.x defaults). wincode's DefaultConfig uses the same layout (little-endian, fixed-width integers, u64 length prefixes, u32 enum tags), and the beacon migration uses serde_wincode::SerdeCompat for the existing serde types. A byte-level test pins Command to the old bincode-legacy encoding, and all Message/Event variants have round-trip coverage.

Remaining transitive bincode

bincode 1.3.3 remains via syntect, and bincode 2.0.1 remains via the external cargo-hot-protocol crate. Orbital no longer depends on bincode directly.

Supersedes

  • Renovate PR/832, which bumped bincode to the unbuildable tombstone release 3.0.0.

Refs #837

Verification

cargo fmt --all -- --check
cargo clippy -p iced_beacon -- -D warnings
cargo test -p iced_beacon --locked
## Summary Replaces the unmaintained `bincode` crate (RUSTSEC-2025-0141) with `wincode` for `iced_beacon`. - Bumps `Crates/orbital-iced` to the beacon migration commit. - Replaces the workspace `bincode` dependency with `wincode` 0.6 and `serde-wincode` 0.1. - Removes the Renovate `bincode < 3.0.0` tombstone rule, since bincode is no longer a direct dependency. - Updates `Cargo.lock`. Companion PR: SakulFlee/Orbital-Iced#17 ### Wire compatibility The beacon previously used `bincode::config::legacy()` (bincode 1.x defaults). `wincode`'s `DefaultConfig` uses the same layout (little-endian, fixed-width integers, `u64` length prefixes, `u32` enum tags), and the beacon migration uses `serde_wincode::SerdeCompat` for the existing serde types. A byte-level test pins `Command` to the old bincode-legacy encoding, and all `Message`/`Event` variants have round-trip coverage. ### Remaining transitive bincode `bincode` 1.3.3 remains via `syntect`, and `bincode` 2.0.1 remains via the external `cargo-hot-protocol` crate. Orbital no longer depends on bincode directly. ### Supersedes - Renovate PR/832, which bumped bincode to the unbuildable tombstone release 3.0.0. Refs #837 ## Verification ``` cargo fmt --all -- --check cargo clippy -p iced_beacon -- -D warnings cargo test -p iced_beacon --locked ```
fix(deps): replace bincode with wincode in beacon (#837)
All checks were successful
Lint / lint (pull_request) Successful in 1m52s
2402493eba

Merge order: merge SakulFlee/Orbital-Iced#17 first, then this PR (submodule pointer).

This replaces the earlier plan-only PR #885, which has been closed.

Merge order: merge SakulFlee/Orbital-Iced#17 first, then this PR (submodule pointer). This replaces the earlier plan-only PR #885, which has been closed.
SakulFlee deleted branch fix/837-wincode-migration 2026-10-22 00:00:38 +00:00
Sign in to join this conversation.
No description provided.