Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use uuid::Uuid data type with "serde" feature. #1

Open
brodeuralexis opened this issue Aug 18, 2018 · 1 comment
Open

Use uuid::Uuid data type with "serde" feature. #1

brodeuralexis opened this issue Aug 18, 2018 · 1 comment

Comments

@brodeuralexis
Copy link

pub fsid: String, // Uuid Serialize and Deserialize isn't implemented for Uuid

At this line, it is stated that Serialize and Deserialize are not implemented for uuid::Uuid, and that is true only if the "serde" feature is not activated in Cargo.toml.

[dependencies]
uuid = { version = "0.6", features = ["serde", "v4"] }
@cholcombe973
Copy link
Owner

Interesting. Thanks for spotting that

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

No branches or pull requests

2 participants