Skip to content

Allow arbitrary enums #6

@RReverser

Description

@RReverser

RFC 2363 allows to set custom discriminant on arbitrary enums with payloads, and not just C-like enums.

While it's currently a nightly-only feature It's a stable feature since Rust 1.56, it would be great to support arbitrary enums in serde-repr too.

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