4 个版本
0.4.5 | 2022 年 8 月 30 日 |
---|---|
0.4.4 | 2022 年 8 月 30 日 |
0.3.0 | 2022 年 8 月 24 日 |
0.2.2 |
|
0.1.1 |
|
在 #turing 中排名 7
20KB
506 代码行,不包括注释
该包主要暴露的函数是 parse(bytes: &[u8]) -> Circuit
使用示例
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)
}
依赖项
~110KB