Logo by Misiasart
Thanks to all individual and corporate sponsors, without whom this work could not exist:
Provides MessagePack serialization and deserialization for facet types.
Usage
use Facet;
use to_vec;
let my_instance = MyStruct ;
// Serialize to MessagePack bytes
let bytes = to_vec;
println!;
// Output: Serialized MessagePack: [130, 166, 102, 105, 101, 108, 100, 49, 42, 166, 102, 105, 101, 108, 100, 50, 165, 104, 101, 108, 108, 111]
// Deserialization would use from_bytes (not shown here)
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.