qua_format

Crates.ioqua_format
lib.rsqua_format
version0.1.7
sourcesrc
created_at2022-01-23 06:16:13.632361
updated_at2023-03-15 16:28:47.600107
descriptionParse .qua files for the rhythm game Quaver
homepage
repositoryhttps://github.com/IceDynamix/rust-qua-format
max_upload_size
id519518
size22,627
IceDynamix (IceDynamix)

documentation

https://docs.rs/qua_format/0.1.0/qua_format/

README

qua_format

issues license version documentation

Documentation

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.

Example

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();
Commit count: 29

cargo fmt