API shims: core packets, messages, assets, and primitive models #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Objective
Implement the main crate public signatures for wire/data models without implementing codecs or network behavior.
Deliverables
Validation
Prerequisite
Stage 0 project setup is complete. Do not implement production behavior in this milestone.
Project constraints
Implemented and pushed in commit
7086af9. Generated the complete catalog-driven, failure-only Rust surface for issue #7's main-assembly wire/data subset: 2,209 types and 22,805 members covering packets, Linden messages, assets, GLTF DTOs, archives/import-export (including Collada), materials, rendering DTOs, bit packing, permissions, primitives, and texture/media/particle records. The generator now supports a partial main-assembly slice with module-accurate paths while retaining issues #8-#10 types as pending shells. It preserves real fields, numeric widths, discriminants, flag bits, constants, generics, collection elements, and overload identities; standardized failures are emitted for every operation. Added project-owned cross-platform boundaries for the cataloged MessagePack, XML, collection, cancellation, and System.Numerics signature types without copying external member APIs. Fixed Rust string constants to &'static str and centrally disambiguated C# methods that collide with generated property setters. Coverage/docs/handover are updated. Review verified exact selected type/member-ID equality, no missing/duplicate destinations, no plausible fallback bodies, and no platform-specific mapping. Gates passed: mapping/shim determinism, cargo fmt, git diff --check, workspace cargo check, workspace test compile (--no-run), workspace clippy -D warnings, workspace docs, issue fixture (2 passed), and all prior focused shim regressions (5 passed).