jam-codec 0.1.1

Lightweight, efficient, binary codec for JAM
Documentation
1
2
3
4
5
6
7
8
9
use jam_codec::{Encode, MaxEncodedLen};

#[derive(Encode, MaxEncodedLen)]
#[codec(crate = "jam_codec")]
struct Example;

fn main() {
	let _ = Example::max_encoded_len();
}