bincode-next 2.1.0

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
#![cfg(all(feature = "derive", feature = "std"))]
#![allow(dead_code)]

extern crate bincode_next as bincode;
extern crate std;

use bincode::{Decode, Encode};
use std::borrow::Cow;

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