wavecraft-dev-server 0.12.47

Unified development server for Wavecraft plugin UI testing
Documentation

Wavecraft unified development server

This crate provides the complete development server infrastructure for wavecraft start, including:

  • WebSocket server (ws) — IPC bridge between browser UI and Rust engine
  • Audio processing (audio) — Optional real-time audio via OS devices
  • Hot-reload (reload) — File watching, rebuild pipeline, and parameter reload
  • Parameter hosting (host) — In-memory parameter storage with atomic audio bridge

Architecture

┌────────────────────────┐
│   CLI (wavecraft start) │
│   thin wrapper          │
└───────────┬────────────┘
            │
            ▼
┌────────────────────────────────────────────┐
│          dev-server crate                   │
│                                             │
│  ┌──────────┐  ┌──────────┐  ┌───────────┐ │
│  │ WsServer │  │ Audio    │  │ Reload    │ │
│  │ (ws/)    │  │ (audio/) │  │ (reload/) │ │
│  └────┬─────┘  └────┬─────┘  └─────┬─────┘ │
│       │              │              │       │
│       └──────┬───────┴──────────────┘       │
│              ▼                               │
│     ┌─────────────────┐                      │
│     │ DevServerHost   │                      │
│     │ (host.rs)       │                      │
│     └─────────────────┘                      │
└────────────────────────────────────────────┘