fix(deps): replace bincode with wincode (#837) #887
No reviewers
Labels
No labels
Context: Bug
Context: Enhancements
Platform: Android
Platform: Linux
Platform: Web
Platform: Windows
Platform: iOS
Platform: macOS
Release
Target: CI
Target: CLI
Target: Dependency
Target: Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SakulFlee/Orbital!887
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/837-wincode-migration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Replaces the unmaintained
bincodecrate (RUSTSEC-2025-0141) withwincodeforiced_beacon.Crates/orbital-icedto the beacon migration commit.bincodedependency withwincode0.6 andserde-wincode0.1.bincode < 3.0.0tombstone rule, since bincode is no longer a direct dependency.Cargo.lock.Companion PR: SakulFlee/Orbital-Iced#17
Wire compatibility
The beacon previously used
bincode::config::legacy()(bincode 1.x defaults).wincode'sDefaultConfiguses the same layout (little-endian, fixed-width integers,u64length prefixes,u32enum tags), and the beacon migration usesserde_wincode::SerdeCompatfor the existing serde types. A byte-level test pinsCommandto the old bincode-legacy encoding, and allMessage/Eventvariants have round-trip coverage.Remaining transitive bincode
bincode1.3.3 remains viasyntect, andbincode2.0.1 remains via the externalcargo-hot-protocolcrate. Orbital no longer depends on bincode directly.Supersedes
Refs #837
Verification
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.