Skip to content

Support serde attributes #2

@msrd0

Description

@msrd0

These seem to be the relevant attributes from https://serde.rs:

  • Container Attributes
    • rename
    • rename_all
    • deny_unknown_fields
    • tag / content / untagged
    • default (this might not be usable unless we force a Serialize type bound)
    • transparent
    • from / try_from / into
  • Variant Attributes
    • rename
    • rename_all
    • skip*
    • other (unsure about whether this should be in the spec at all, or if the default tag is already good enough for catchall-variants)
  • Field Attributes
    • rename
    • default / skip*
    • flatten
    • with* (unsure how to handle these - do we expect a visit_type method alongside the (de)serialize methods?)

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