4 releases
0.4.5 | Aug 30, 2022 |
---|---|
0.4.4 | Aug 30, 2022 |
0.3.0 | Aug 24, 2022 |
0.2.2 |
|
0.1.1 |
|
#10 in #turing-complete
26 downloads per month
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