Crates.io | dot-multisample |
lib.rs | dot-multisample |
version | 0.1.0 |
source | src |
created_at | 2023-10-21 23:32:04.919275 |
updated_at | 2023-10-21 23:32:04.919275 |
description | Bindings to the .multisample manifest file format |
homepage | |
repository | https://github.com/g-s-k/auto-sampler |
max_upload_size | |
id | 1010297 |
size | 38,165 |
Bindings for the .multisample manifest file format
The provided bindings have been created for use with quick-xml as (at time of writing) it has the best Serde support for XML documents.
See the "load" example for a more practical demonstration, but here is a short snippet:
let path: &std::path::Path = "path/to/Instrument.multisample".as_ref();
let manifest = std::fs::read_to_string(path.join("multisample.xml")).unwrap();
let config: Multisample = quick_xml::de::from_str(&manifest).unwrap();
println!("{} by {}", config.name(), config.creator());