diff --git a/plugins/zenoh-backend-traits/Cargo.toml b/plugins/zenoh-backend-traits/Cargo.toml index f2b8a4a1eb..b3926ab955 100644 --- a/plugins/zenoh-backend-traits/Cargo.toml +++ b/plugins/zenoh-backend-traits/Cargo.toml @@ -31,7 +31,7 @@ async-std = { workspace = true, features = ["default"] } async-trait = { workspace = true } derive_more = { workspace = true } serde_json = { workspace = true } -zenoh = { workspace = true } +zenoh = { workspace = true, features = ["unstable"] } zenoh-result = { workspace = true } zenoh-util = { workspace = true } schemars = { workspace = true } diff --git a/zenoh/src/queryable.rs b/zenoh/src/queryable.rs index 7b9fc61e8c..93a780c8c6 100644 --- a/zenoh/src/queryable.rs +++ b/zenoh/src/queryable.rs @@ -111,6 +111,8 @@ impl Query { /// replying on a disjoint key expression will result in an error when resolving the reply. /// This api is for internal use only. #[inline(always)] + #[cfg(feature = "unstable")] + #[doc(hidden)] pub fn reply_sample(&self, sample: Sample) -> ReplyBuilder<'_> { let Sample { key_expr,