Skip to main content

hdds-wasm

WebAssembly DDS SDK -- Run DDS applications directly in the browser or any WASM runtime.

Experimental

This crate is at version 0.1.0 and its API may change.

Overview

hdds-wasm compiles HDDS to WebAssembly, enabling:

  • Browser DDS -- Publish and subscribe from web applications
  • Relay bridge -- WebSocket relay for connecting WASM clients to the DDS network
  • Zero-install -- No native dependencies, runs in any WASM-capable environment
  • Type-safe -- Uses hdds_gen TypeScript backend for typed pub/sub

Architecture

Browser (WASM) <--WebSocket--> hdds-wasm relay <--RTPS--> DDS Network

Installation

[dependencies]
hdds-wasm = { path = "../hdds/crates/hdds-wasm" }