vconvert 0.1.1

A simple vulnus to soundspace converter (or vice versa)
Documentation
  • Coverage
  • 0%
    0 out of 47 items documented0 out of 42 items with examples
  • Size
  • Source code size: 14.61 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.02 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 28s Average build duration of successful builds.
  • all releases: 28s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • aixeria/vconvert
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • aixeria

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.