Skip to content

Commit

Permalink
restored zenoh-macro for zenoh-ext
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Apr 23, 2024
1 parent a9a906f commit 618bed1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions zenoh-ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ serde = { workspace = true, features = ["default"] }
serde_cbor = { workspace = true }
serde_json = { workspace = true }
zenoh = { workspace = true, features = ["unstable"], default-features = false }
zenoh-macros = { workspace = true }

[package.metadata.docs.rs]
features = ["unstable"]
2 changes: 1 addition & 1 deletion zenoh-ext/src/publication_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl<'a, 'b, 'c> PublicationCacheBuilder<'a, 'b, 'c> {

/// Restrict the matching queries that will be receive by this [`PublicationCache`]'s queryable
/// to the ones that have the given [`Locality`](zenoh::prelude::Locality).
#[zenoh::internal::unstable]
#[zenoh_macros::unstable]
#[inline]
pub fn queryable_allowed_origin(mut self, origin: Locality) -> Self {
self.queryable_origin = Some(origin);
Expand Down
4 changes: 2 additions & 2 deletions zenoh-ext/src/querying_subscriber.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ impl<'a, 'b, Handler> QueryingSubscriberBuilder<'a, 'b, crate::UserSpace, Handle

/// Restrict the matching publications that will be receive by this [`Subscriber`]
/// to the ones that have the given [`Locality`](zenoh::prelude::Locality).
#[zenoh::internal::unstable]
#[zenoh_macros::unstable]
#[inline]
pub fn allowed_origin(mut self, origin: Locality) -> Self {
self.origin = origin;
Expand Down Expand Up @@ -523,7 +523,7 @@ where

/// Restrict the matching publications that will be receive by this [`FetchingSubscriber`]
/// to the ones that have the given [`Locality`](zenoh::prelude::Locality).
#[zenoh::internal::unstable]
#[zenoh_macros::unstable]
#[inline]
pub fn allowed_origin(mut self, origin: Locality) -> Self {
self.origin = origin;
Expand Down
1 change: 0 additions & 1 deletion zenoh/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ pub mod internal {
pub use zenoh_core::zerror;
pub use zenoh_core::zlock;
pub use zenoh_core::ztimeout;
pub use zenoh_macros::unstable;
pub use zenoh_result::bail;
pub use zenoh_sync::Condition;
pub use zenoh_task::TaskController;
Expand Down

0 comments on commit 618bed1

Please sign in to comment.