Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Zenoh Programming in Rust

This book is a practical guide to building distributed systems with Eclipse Zenoh and Rust.

It targets Zenoh 1.4.0 and the Rust 2024 edition. Each chapter introduces a concept, explains its design rationale, and demonstrates it with working code.

Scope

ChapterTopic
1What Zenoh is and where it fits
2Setting up a Rust project with Zenoh
3Key abstractions: keyspace, time, and data model
4Publishing data
5Subscribing to data
6Queryable resources
7Issuing queries
8Shared-memory transport
9Scouting and peer discovery
10Namespaces, selectors, and QoS
11Debugging and logging
12Embedding Zenoh in custom systems
13Real-world use cases: robotics, V2X, and edge-to-cloud

Prerequisites

  • Rust toolchain installed (rustup)
  • Familiarity with Rust ownership and async/await
  • Basic understanding of pub/sub messaging

Source Code

All examples in this book are available at https://github.com/kydos/zenoh-book.