#turing-complete #save #circuit #game #byte #parse #monger

nightly tc_save_monger

a reimplementation in Rust of the save_monger library for the game Turing Complete

4 releases

0.4.5 Aug 30, 2022
0.4.4 Aug 30, 2022
0.3.0 Aug 24, 2022
0.2.2 Aug 21, 2022
0.1.1 Aug 21, 2022

#10 in #turing-complete

26 downloads per month

MIT license

20KB
506 lines

the main exposed function of the crate is parse(bytes: &[u8]) -> Circuit

example of usage:

use tc_save_monger::{parse, Circuit};
use std::fs;

fn parse_from_file(path: &str) -> Circuit {
    let bytes = fs::read(path).expect("error reading file");
    parse(&bytes)
}

Dependencies

~110KB