zuzu-rust 0.4.0

Rust implementation of ZuzuScript
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
from test/more import *;
requires_capability( "fs" );

from std/data/cbor import CBOR;
from std/io import Path;

let codec := new CBOR();
let f := Path.tempfile();
codec.dump( f, [ 1, 2, 3 ] );
let loaded := codec.load(f);
is( loaded, [ 1, 2, 3 ], "dump/load with Path" );

done_testing();