Skip to content

Commit

Permalink
resolve disabled in prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Apr 5, 2024
1 parent 35378b3 commit 142ca2f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion zenoh-ext/src/publication_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use zenoh::prelude::r#async::*;
use zenoh::queryable::{Query, Queryable};
use zenoh::session::SessionRef;
use zenoh::subscriber::FlumeSubscriber;
use zenoh_core::{AsyncResolve, Resolvable, SyncResolve};
use zenoh_core::{AsyncResolve, Resolvable, Resolve, SyncResolve};
use zenoh_result::{bail, ZResult};
use zenoh_util::core::ResolveFuture;

Expand Down
2 changes: 1 addition & 1 deletion zenoh-ext/src/querying_subscriber.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use zenoh::session::SessionRef;
use zenoh::subscriber::{Reliability, Subscriber};
use zenoh::time::{new_reception_timestamp, Timestamp};
use zenoh::Result as ZResult;
use zenoh_core::{zlock, AsyncResolve, Resolvable, SyncResolve};
use zenoh_core::{zlock, AsyncResolve, Resolvable, Resolve, SyncResolve};

use crate::ExtractSample;

Expand Down
1 change: 1 addition & 0 deletions zenoh/src/api/liveliness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ use {
zenoh_protocol::network::declare::subscriber::ext::SubscriberInfo,
zenoh_protocol::network::request,
};
use {zenoh_core::Resolve};

#[zenoh_macros::unstable]
pub(crate) static PREFIX_LIVELINESS: &str = crate::net::routing::PREFIX_LIVELINESS;
Expand Down
2 changes: 1 addition & 1 deletion zenoh/src/api/queryable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use std::future::Ready;
use std::ops::Deref;
use std::sync::Arc;
use uhlc::Timestamp;
use zenoh_core::{AsyncResolve, Resolvable, SyncResolve};
use zenoh_core::{AsyncResolve, Resolvable, Resolve, SyncResolve};
use zenoh_protocol::{
core::{EntityId, WireExpr},
network::{response, Mapping, RequestId, Response, ResponseFinal},
Expand Down
12 changes: 6 additions & 6 deletions zenoh/src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
pub use common::*;
pub(crate) mod common {
// pub use crate::api::key_expr::{keyexpr, KeyExpr, OwnedKeyExpr};
pub use zenoh_buffers::{
buffer::{Buffer, SplitBuffer},
reader::HasReader,
writer::HasWriter,
};
pub use zenoh_core::Resolve;
// pub use zenoh_buffers::{
// buffer::{Buffer, SplitBuffer},
// reader::HasReader,
// writer::HasWriter,
// };
// pub use zenoh_core::Resolve;

pub use zenoh_protocol::core::{EndPoint, Locator, ZenohId};
#[zenoh_macros::unstable]
Expand Down

0 comments on commit 142ca2f

Please sign in to comment.