Skip to content

Seeing error when trying to serialize an enum with rmp-serde #42

@crhino

Description

@crhino

I am trying to serialize an enum with rmp-serde and I am running into an error:

`Err` value: DeserializeError(Syntax("syntax error: expected an enum"))`

which seems to come from serde's default implementation of visit_enum.

I see that you have tests surround serializing enums, which is almost exactly what I am trying to do. I am wondering if there is something that I am missing here. Taking a look at your Travis builds it does not seem like those tests are being run there.

I already have serde_macros enabled and have custom_derive and plugin features, not sure what else I need.

Any help would be much appreciated!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions