Skip to content

use serde's enum representation tools #176

@Geal

Description

@Geal

currently, the message serialize an enum as a type field, then a data field containing the actul object. A lot of code was written to do that, and this code could be removed with serde 1.0's enum handling code: https://serde.rs/enum-representations.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions