2 releases
0.1.1 | Sep 25, 2022 |
---|---|
0.1.0 | Sep 24, 2022 |
#2051 in Algorithms
11KB
279 lines
vconvert
convert vulnus to soundspace maps. (or vice versa).
usage
Firstly add in your cargo.toml:
vconvert = "0.1.0"
Then in your code:
use vconvert::vulnus;
fn main() {
let mut vulnus_map = serde_json::from_slice::<vulnus::Map>(
include_bytes!("../vmap.json") // or however you get your map
).expect("unable to parse map");
// then do what ever you want with it
}
examples
There are some examples in the examples folder.
Dependencies
~0.7–1.4MB
~33K SLoC