vconvert

Crates.iovconvert
lib.rsvconvert
version0.1.1
sourcesrc
created_at2022-09-24 22:48:02.924583
updated_at2022-09-25 01:59:15.075585
descriptionA simple vulnus to soundspace converter (or vice versa)
homepage
repositoryhttps://github.com/aixeria/vconvert
max_upload_size
id673300
size15,077
(aixeria)

documentation

README

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.

Commit count: 10

cargo fmt