bakery 0.1.3

Deserialize binary objects from structured text data files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use hex_literal::hex;
mod common;
use common::test_compile_ser;

#[test]
fn test_list() {
    test_compile_ser(
        "List<u8>",
        "[1, 2, 3, 4]",
        Some(&hex!("040000000000000001020304")),
        vec![1u8, 2, 3, 4],
    );
}