Skip to content

Commit

Permalink
Use up-transport-zenoh instead.
Browse files Browse the repository at this point in the history
Signed-off-by: ChenYing Kuo <[email protected]>
  • Loading branch information
evshary committed Jun 14, 2024
1 parent 86d2377 commit d29e038
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ chrono = "0.4.31"
env_logger = "0.10.0"
tokio = { version = "1.35.1", default-features = false }
up-rust = { git = "https://github.com/eclipse-uprotocol/up-rust", rev = "d736fdf35ff4728effa7f36b720f0fc1605d5ba0" }
#up-client-zenoh = { git = "https://github.com/eclipse-uprotocol/up-client-zenoh-rust", rev = "cb592dc5abbaf9dcd204f592733404ea7c61e999" }
up-client-zenoh = { git = "https://github.com/ZettaScaleLabs/up-client-zenoh-rust", rev = "70e45bad74ce31b4d464333efa21217f5f7c63c8" }
up-transport-zenoh = { git = "https://github.com/eclipse-uprotocol/up-transport-zenoh-rust", rev = "b8925c643465959f402372f796c8856f906dcd05" }
zenoh = { version = "0.11.0-rc.3", features = ["unstable"]}

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion src/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ pub mod common;

use std::str::FromStr;
use tokio::time::{sleep, Duration};
use up_client_zenoh::UPClientZenoh;
use up_rust::{UMessageBuilder, UPayloadFormat, UTransport, UUri};
use up_transport_zenoh::UPClientZenoh;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 1 addition & 1 deletion src/rpc_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
pub mod common;

use std::str::FromStr;
use up_client_zenoh::UPClientZenoh;
use up_rust::{RpcClient, UMessageBuilder, UPayloadFormat, UUri};
use up_transport_zenoh::UPClientZenoh;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 1 addition & 1 deletion src/rpc_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ use tokio::{
task,
time::{sleep, Duration},
};
use up_client_zenoh::UPClientZenoh;
use up_rust::{UListener, UMessage, UMessageBuilder, UPayloadFormat, UStatus, UTransport, UUri};
use up_transport_zenoh::UPClientZenoh;

struct RpcListener {
up_client: Arc<UPClientZenoh>,
Expand Down
2 changes: 1 addition & 1 deletion src/subscriber.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ pub mod common;
use async_trait::async_trait;
use std::{str::FromStr, sync::Arc};
use tokio::time::{sleep, Duration};
use up_client_zenoh::UPClientZenoh;
use up_rust::{UListener, UMessage, UStatus, UTransport, UUri};
use up_transport_zenoh::UPClientZenoh;

struct SubscriberListener;
#[async_trait]
Expand Down

0 comments on commit d29e038

Please sign in to comment.