vmix-core
Core data structures for vMix API. This crate is no_std compatible and can be used in embedded environments and WebAssembly.
Features
no_stdcompatible (requiresalloc)- Strongly-typed data structures for vMix state
- Optional XML parsing via
xmlfeature - Zero network dependencies
Usage
Without XML parsing (lightweight)
use Vmix;
// Use struct definitions only
// XML parsing is handled by your own implementation
With XML parsing
[]
= { = "0.1.0", = ["xml"] }
use ;
// Parse XML from vMix
let xml = r#"<vmix><version>1.0</version>...</vmix>"#;
let vmix_state: Vmix = from_str?;
println!;
println!;
Features
xml(optional): Enable XML parsing withquick-xmlstd(optional): Enable standard library support
License
MIT