diff --git a/zenoh/src/api/builders/publication.rs b/zenoh/src/api/builders/publication.rs index ef2224193f..711cb063f6 100644 --- a/zenoh/src/api/builders/publication.rs +++ b/zenoh/src/api/builders/publication.rs @@ -20,7 +20,6 @@ use crate::api::bytes::OptionZBytes; use crate::api::bytes::ZBytes; use crate::api::key_expr::KeyExpr; use crate::api::publication::Priority; -#[cfg(feature = "unstable")] use crate::api::sample::Locality; use crate::api::sample::SampleKind; #[cfg(feature = "unstable")] @@ -255,7 +254,6 @@ pub struct PublisherBuilder<'a, 'b: 'a> { pub(crate) congestion_control: CongestionControl, pub(crate) priority: Priority, pub(crate) is_express: bool, - #[cfg(feature = "unstable")] pub(crate) destination: Locality, } diff --git a/zenoh/src/api/session.rs b/zenoh/src/api/session.rs index c481b01bdf..4fc0df5c1a 100644 --- a/zenoh/src/api/session.rs +++ b/zenoh/src/api/session.rs @@ -22,10 +22,7 @@ use super::{ info::SessionInfo, key_expr::{KeyExpr, KeyExprInner}, publication::Priority, - query::{ - ConsolidationMode, GetBuilder, QueryConsolidation, QueryState, QueryTarget, Reply, - _REPLY_KEY_EXPR_ANY_SEL_PARAM, - }, + query::{ConsolidationMode, GetBuilder, QueryConsolidation, QueryState, QueryTarget, Reply}, queryable::{Query, QueryInner, QueryableBuilder, QueryableState}, sample::{DataInfo, DataInfoIntoSample, Locality, QoS, Sample, SampleKind}, selector::{Selector, TIME_RANGE_KEY}, @@ -87,6 +84,7 @@ use super::{ liveliness::{Liveliness, LivelinessTokenState}, publication::Publisher, publication::{MatchingListenerState, MatchingStatus}, + query::_REPLY_KEY_EXPR_ANY_SEL_PARAM, sample::SourceInfo, }; diff --git a/zenoh/src/lib.rs b/zenoh/src/lib.rs index fce115cfb1..3c011e2439 100644 --- a/zenoh/src/lib.rs +++ b/zenoh/src/lib.rs @@ -271,7 +271,6 @@ pub mod publication { /// Query primitives pub mod query { - pub use crate::api::query::Mode; pub use crate::api::query::Reply; #[zenoh_macros::unstable] pub use crate::api::query::ReplyKeyExpr;