这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Narsil
Copy link
Owner

@Narsil Narsil commented Mar 27, 2020

Fixes #24


let deserialized: Event = serde_json::from_str(&serialized).unwrap();

println!("Serialized event {:?}", serialized);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we implement PartialEq and Eq on Event, we could assert_eq!(event, deserialized) here.

@maxbla
Copy link
Contributor

maxbla commented Mar 27, 2020

You want to make sure that rdev passes cargo test both with the feature enabled and with it disabled. I'm not familiar with github workflows, but there's probably a way to do so.

@Narsil
Copy link
Owner Author

Narsil commented Mar 28, 2020

Closing in favor of #34

@Narsil Narsil closed this Mar 28, 2020
@Narsil Narsil deleted the serde branch April 2, 2020 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optional Serde-based Serialization Feature

3 participants