4 releases
0.1.0 | Feb 22, 2022 |
---|---|
0.0.3 | Mar 15, 2020 |
0.0.2 | May 13, 2018 |
0.0.1 | Aug 27, 2017 |
#2027 in Parser implementations
Used in 2 crates
19KB
499 lines
Yosys JSON netlist serde structures
Read/write Yosys JSON files in Rust using serde.
Reading
// from a byte slice
let result = Netlist::from_slice(...).unwrap();
// from an io::Read
let result = Netlist::from_reader(reader).unwrap();
Writing
let mut netlist = Netlist::new("Super cool HDL tool");
...
let json = netlist.to_string().unwrap();
Dependencies
~0.8–1.5MB
~35K SLoC