cholcombe973 / rusix

Distributed filesystem in Rust
Other
54 stars 11 forks source link

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

Open brodeuralexis opened 6 years ago

brodeuralexis commented 6 years ago

https://github.com/cholcombe973/rusix/blob/05d4004aef56fabee5f15449044e07cb99125be0/src/lib/config.rs#L19

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 commented 6 years ago

Interesting. Thanks for spotting that