diff --git a/DEFAULT_CONFIG.json5 b/DEFAULT_CONFIG.json5 index 8287e4ecdb..d1bfe08408 100644 --- a/DEFAULT_CONFIG.json5 +++ b/DEFAULT_CONFIG.json5 @@ -133,17 +133,25 @@ /// NOTE: Due to the note above, 'lowlatency' is incompatible with 'qos' option, so in order to /// enable 'lowlatency' you need to explicitly disable 'qos'. lowlatency: false, + /// Enables QoS on unicast communications. qos: { enabled: true, }, + /// Enables compression on unicast communications. + /// Compression capabilities are negotiated during session establishment. + /// If both Zenoh nodes support compression, then compression is activated. compression: { enabled: false, }, - }, + }, multicast: { + /// Enables QoS on multicast communication. + /// Default to false for Zenoh-to-Zenoh-Pico out-of-the-box compatibility. qos: { - enabled: true, + enabled: false, }, + /// Enables compression on multicast communication. + /// Default to false for Zenoh-to-Zenoh-Pico out-of-the-box compatibility. compression: { enabled: false, }, diff --git a/commons/zenoh-util/src/std_only/lib_loader.rs b/commons/zenoh-util/src/std_only/lib_loader.rs index 2fadfad7f2..b1aa77b06b 100644 --- a/commons/zenoh-util/src/std_only/lib_loader.rs +++ b/commons/zenoh-util/src/std_only/lib_loader.rs @@ -26,7 +26,7 @@ zconfigurable! { /// The libraries suffix for the current platform (`".dll"` or `".so"` or `".dylib"`...) pub static ref LIB_SUFFIX: String = DLL_SUFFIX.to_string(); /// The default list of paths where to search for libraries to load - pub static ref LIB_DEFAULT_SEARCH_PATHS: String = "/usr/local/lib:/usr/lib:~/.zenoh/lib:.".to_string(); + pub static ref LIB_DEFAULT_SEARCH_PATHS: String = "/usr/local/lib:/usr/lib:/opt/homebrew/lib:~/.zenoh/lib:.".to_string(); } /// LibLoader allows search for librairies and to load them. diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 116e3dff8d..b0f6507d20 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -24,6 +24,7 @@ categories = { workspace = true } description = "Internal crate for zenoh." readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +publish = false [features] shared-memory = ["zenoh/shared-memory"] diff --git a/examples/README.md b/examples/README.md index fd25e4322d..8e5b3085ba 100644 --- a/examples/README.md +++ b/examples/README.md @@ -253,4 +253,4 @@ or ```bash z_sub_liveliness -k group1/** - ``` \ No newline at end of file + ``` diff --git a/plugins/example-plugin/Cargo.toml b/plugins/example-plugin/Cargo.toml index a0b279d733..324e676d0a 100644 --- a/plugins/example-plugin/Cargo.toml +++ b/plugins/example-plugin/Cargo.toml @@ -17,6 +17,7 @@ name = "zenoh-plugin-example" version = { workspace = true } authors = { workspace = true } edition = { workspace = true } +publish = false [features] default = ["no_mangle"] diff --git a/zenoh/src/net/runtime/mod.rs b/zenoh/src/net/runtime/mod.rs index 28f3250d06..96e28f89a3 100644 --- a/zenoh/src/net/runtime/mod.rs +++ b/zenoh/src/net/runtime/mod.rs @@ -88,8 +88,6 @@ impl Runtime { pub(crate) async fn init(config: Config) -> ZResult { log::debug!("Zenoh Rust API {}", GIT_VERSION); - // Make sure to have have enough threads spawned in the async futures executor - zasync_executor_init!(); let zid = *config.id();