Crates.io | up-transport-zenoh |
lib.rs | up-transport-zenoh |
version | 0.3.0 |
source | src |
created_at | 2024-08-01 06:29:23.812465 |
updated_at | 2024-10-25 06:12:13.489073 |
description | Zenoh Rust Transport library implementation of the Eclipse uProtocol |
homepage | |
repository | https://github.com/eclipse-uprotocol/up-transport-zenoh-rust |
max_upload_size | |
id | 1321672 |
size | 159,543 |
uProtocol transport implementation for Zenoh in Rust
# Check clippy
cargo clippy --all-targets
# Build
cargo build
# Run test
cargo test
# Test coverage
cargo tarpaulin -o lcov -o html --output-dir target/tarpaulin
The examples of up-transport-zenoh-rust can be found under examples folder. Assume you're using debug build.1
# Publisher
./target/debug/examples/publisher
# Subscriber
./target/debug/examples/subscriber
# Notifier
./target/debug/examples/notifier
# Notification Receiver
./target/debug/examples/notification_receiver
# RPC Server
./target/debug/examples/rpc_server
# RPC Client
./target/debug/examples/rpc_client
# L2 RPC Client
./target/debug/examples/l2_rpc_client
For the advanced Zenoh configuration, you can either use -h
to see more details or pass the configuration file with -c
.
The configuration file example is under the folder config
.
The implementation follows the spec defined in up-l1/zenoh.
Some PC configurations cannot connect locally. Add multicast to lo interface using
$ sudo ip link set dev lo multicast on
↩