Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make sure that structs are serialized correctly #34

Merged
merged 3 commits into from
Apr 24, 2024

Commits on Apr 22, 2024

  1. fix: make sure that structs are serialized correctly

    Rust structs have their entries ordered the same way as they are
    defined. When serialized to CBOR, they become maps by default. In
     DAG-CBOR the maps need to have a specific order, hence the keys
    might need to be re-ordered, so that they are independent of the
    order they were defined. This commit makes sure that it's actually
    the case.
    
    Fixes #31.
    vmx committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    5129dcf View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. test: extend tests a bit

    vmx committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    a2959cb View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. fix: clarify comment

    Co-authored-by: Rod Vagg <rod@vagg.org>
    vmx and rvagg committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    440d1af View commit details
    Browse the repository at this point in the history