Crates.io | qua_format |
lib.rs | qua_format |
version | 0.1.7 |
source | src |
created_at | 2022-01-23 06:16:13.632361 |
updated_at | 2023-03-15 16:28:47.600107 |
description | Parse .qua files for the rhythm game Quaver |
homepage | |
repository | https://github.com/IceDynamix/rust-qua-format |
max_upload_size | |
id | 519518 |
size | 22,627 |
Parse .qua files into structs, based on the .qua format of
Quaver. The .qua file format uses the YAML format, so
serde_yaml
is used for parsing.
use qua_format::Qua;
use std::fs::File;
let path = "123.qua";
let mut qua = Qua::from_file(path).unwrap();
qua.title = "Never Gonna Give You Up".to_string();
let new_file = File::create("test.qua").unwrap();
qua.to_writer(new_file).unwrap();