Crates.io | vconvert |
lib.rs | vconvert |
version | 0.1.1 |
source | src |
created_at | 2022-09-24 22:48:02.924583 |
updated_at | 2022-09-25 01:59:15.075585 |
description | A simple vulnus to soundspace converter (or vice versa) |
homepage | |
repository | https://github.com/aixeria/vconvert |
max_upload_size | |
id | 673300 |
size | 15,077 |
convert vulnus to soundspace maps. (or vice versa).
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
}
There are some examples in the examples folder.