vconvert 0.1.1

A simple vulnus to soundspace converter (or vice versa)
Documentation

vconvert

convert vulnus to soundspace maps. (or vice versa).

docs.rs crates.io

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.