Skip to content

Fix externally tagged enum maps in rmpv - #390

Open
RanaPriyansh wants to merge 1 commit into
3Hren:masterfrom
RanaPriyansh:fix-rmpv-enum-map-370
Open

RanaPriyansh wants to merge 1 commit into
3Hren:masterfrom
RanaPriyansh:fix-rmpv-enum-map-370

Conversation

@RanaPriyansh

Copy link
Copy Markdown

Fix externally tagged enum maps in rmpv

Issue: #370

rmpv::Value, consumed ValueRef, and borrowed &ValueRef now decode single-entry externally tagged enum maps through Serde's variant seed. Map payloads preserve direct sequence and map semantics, including empty tuple and struct variants. Legacy array enum representations and EnumRefDeserializer::new(u32, ...) remain unchanged.

Checks:

  • cargo +stable fmt --all -- --check
  • cargo +stable test -p rmpv-tests
  • cargo +stable test --all --all-features
  • cargo +stable test -p rmp --no-default-features

Rust 1.98.1 was used. Beta and MSRV 1.85 were not measured locally. Codex used.

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.

1 participant