Skip to content

v0.0.54

Latest
Compare
Choose a tag to compare
@jost-s jost-s released this 17 Apr 13:14

Changed

  • BREAKING: Updated dependencies rmp-serde and serde. Serialization format for Rust enums changed.

An enum

enum ConductorApi {
    Request { param: i32 },
}
let request = ConductorApi::Request { param: 100 };

previously serialized to

{
    "type": {
        "request": null
    },
    "data": {
        "param": 100
    }
}

and now serializes to

{
    "type": "request",
    "data": {
        "param": 100
    }
}