Registry / networking / zenoh
library1.9.0rscratesunverified

Zenoh: The Zero Overhead Pub/Sub/Query Protocol for efficient data communication.

# Cargo.toml [dependencies] zenoh = "1.9.0"
INSTALL
IMPORT
SIG · ZENOH
Z
zenoh
networkingrustv1.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Session
use zenoh::Session;

Create a Zenoh session and subscribe to a key expression.

use zenoh::Session; fn main() { let session = Session::new().unwrap(); let subscriber = session.declare_subscriber("key/expression").unwrap(); loop { let sample = subscriber.recv().unwrap(); println!("Received: {}", sample.value); } }
Debug
Known issues
gotchaRequires an async runtime (e.g., Tokio) for some operations.
fix
Add `tokio` as a dependency and use `#[tokio::main]`.
affects: >=1.0.0
Upgrade
Version history
1.9.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
48 hits · last 30 days
node
42
OpenAI (training)
1
Resources
zenoh — cargo add zenoh · libregistry