From a6d2f7cb9c600f37c2c382e345669f10ef87fd61 Mon Sep 17 00:00:00 2001 From: Denis Biryukov Date: Tue, 12 Mar 2024 12:26:56 +0100 Subject: [PATCH] mark Query.reply_sample as unstable --- plugins/zenoh-backend-traits/Cargo.toml | 2 +- zenoh/src/queryable.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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,