Skip to content

fix: make sure that only string keys can be (de)serialized#54

Open
vmx wants to merge 3 commits into
masterfrom
string-keys-only
Open

fix: make sure that only string keys can be (de)serialized#54
vmx wants to merge 3 commits into
masterfrom
string-keys-only

Conversation

@vmx
Copy link
Copy Markdown
Member

@vmx vmx commented May 13, 2026

DAG-CBOR only allows strings as keys for maps. Make sure that only those can be encoded or decoded.

Fixes parts of #41.

DAG-CBOR only allows strings as keys for maps. Make sure that only
those can be encoded or decoded.

Fixes parts of #41.
@vmx vmx requested a review from rvagg May 13, 2026 11:51
Comment thread tests/ser.rs Outdated
Comment thread src/de.rs Outdated
Copy link
Copy Markdown
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm sans a couple of thoughts inline

vmx added 2 commits May 18, 2026 14:38
@vmx vmx requested a review from rvagg May 18, 2026 12:51
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.

2 participants