dot-multisample

Crates.iodot-multisample
lib.rsdot-multisample
version0.1.0
sourcesrc
created_at2023-10-21 23:32:04.919275
updated_at2023-10-21 23:32:04.919275
descriptionBindings to the .multisample manifest file format
homepage
repositoryhttps://github.com/g-s-k/auto-sampler
max_upload_size
id1010297
size38,165
(g-s-k)

documentation

README

dot-multisample

Bindings for the .multisample manifest file format

Usage

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

cargo fmt