vmix-core

Crates.iovmix-core
lib.rsvmix-core
version0.2.1
created_at2026-01-09 23:25:06.312541+00
updated_at2026-01-16 10:46:45.680851+00
descriptionCore data structures and XML parsing for vMix API (no_std compatible)
homepage
repositoryhttps://github.com/FlowingSPDG/vmix-rs
max_upload_size
id2033137
size19,376
Shugo Kawamura (FlowingSPDG)

documentation

README

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_std compatible (requires alloc)
  • Strongly-typed data structures for vMix state
  • Optional XML parsing via xml feature
  • Zero network dependencies

Usage

Without XML parsing (lightweight)

use vmix_core::Vmix;

// Use struct definitions only
// XML parsing is handled by your own implementation

With XML parsing

[dependencies]
vmix-core = { version = "0.1.0", features = ["xml"] }
use vmix_core::{Vmix, from_str};

// Parse XML from vMix
let xml = r#"<vmix><version>1.0</version>...</vmix>"#;
let vmix_state: Vmix = from_str(xml)?;

println!("vMix version: {}", vmix_state.version);
println!("Active input: {}", vmix_state.active);

Features

  • xml (optional): Enable XML parsing with quick-xml
  • std (optional): Enable standard library support

License

MIT

Commit count: 30

cargo fmt