bincode 2.0.1

A binary serialization / deserialization strategy for transforming structs into bytes and vice versa!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![cfg(feature = "derive")]

extern crate bincode as bincode_new;

// Make sure that the `bincode` crate exists, just symlink it to `core.
extern crate core as bincode;

#[derive(bincode_new::Encode)]
#[bincode(crate = "bincode_new")]
#[allow(dead_code)]
struct DeriveRenameTest {
    a: u32,
    b: u32,
}