Skip to content

Conversation

@bloopos
Copy link

@bloopos bloopos commented Jun 18, 2025

TODO

  • Write tests.

Copy link
Collaborator

@udoprog udoprog left a comment

Choose a reason for hiding this comment

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

Hi! Thanks for the PR!

I'm not sure why we're writing manual implementations for musli encoding rather than deriving them. Could you elaborate on that?

Also approving the workflow run so we can see how the build goes.

@udoprog udoprog added the enhancement New feature or request label Jun 19, 2025
bloopos added 3 commits June 19, 2025 23:19
Outside of a couple of revisions, serde/musli tests should run successfully.

Changelog:
    - Rewritten Encoding/Decoding tests
    - Added DecodedSourceInfo::build
    - For musli:
        - Auto-implemented Decode for DecodedSourceInfo
        - SourceInfo decoding now relies on decoding DecodedSourceInfo first
        - Decoding implementations, for SourceInfo, Source, and Sources, are now restricted
          to both Text and Binary mode
        - Auto-implemented Encode for both Sources and Source
    - For serde:
        -  (DecodedSourceInfo only) deserializing Box<str> uses a custom visitor to handle string values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants