Skip to content

serde usage with anonymous structs #10

Description

@d3rpp

I can see a great use case of this library being for API Types in a more rapid & c-like/go-like style, though the only real barrier being the lack of compatibility with serde.

I've set up a fork which adds serde compatibility via a feature by just forcing serde implementation on every generated struct, though I can see how this could cause issues.

Is there anything you've thought of that may do the job a bit better, the tests work on this solution though I can see thius becoming quite cumbersome if more people start needing more features and more derivations, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions