vzglyd-sidecar 0.1.0

Networking and IPC utilities for VZGLYD slide sidecars
Documentation

vzglyd-sidecar

vzglyd-sidecar is the standard library for VZGLYD sidecars: small wasm32-wasip1 programs that fetch live data and push it to a paired slide.

Add it to a sidecar crate:

[dependencies]
vzglyd-sidecar = "0.1"

Typical usage:

use vzglyd_sidecar::{https_get_text, poll_loop};

fn main() {
    poll_loop(300, || {
        let body = https_get_text("api.example.com", "/forecast")?;
        Ok(body.into_bytes())
    });
}

This crate is intended for the wasm32-wasip1 target used by VZGLYD sidecars.

Further reading: