cu-bincode 2.0.2

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

extern crate std;

extern crate cu_bincode as bincode;
use bincode::{Decode, Encode};
use std::borrow::Cow;

#[derive(Clone, Encode, Decode)]
pub struct Foo<'a>(Cow<'a, str>);