spice-client 0.2.0

A pure Rust SPICE client library with native and WebAssembly support
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod frame;
mod output;

pub use frame::VideoFrame;
pub use output::{create_video_output, VideoOutput};

#[cfg(not(target_arch = "wasm32"))]
mod native;

#[cfg(target_arch = "wasm32")]
pub mod wasm;

#[cfg(target_arch = "wasm32")]
pub use output::create_wasm_video_output;

#[cfg(target_arch = "wasm32")]
pub use wasm::WasmVideoOutput;