diff --git a/zenoh/src/api/mod.rs b/zenoh/src/api/mod.rs index e93a5e025c..694890ad6c 100644 --- a/zenoh/src/api/mod.rs +++ b/zenoh/src/api/mod.rs @@ -24,6 +24,8 @@ pub(crate) mod key_expr; #[cfg(feature = "unstable")] pub(crate) mod liveliness; #[cfg(all(feature = "unstable", feature = "plugins"))] +pub(crate) mod loader; +#[cfg(all(feature = "unstable", feature = "plugins"))] pub(crate) mod plugins; pub(crate) mod publication; pub(crate) mod query; @@ -35,5 +37,3 @@ pub(crate) mod session; pub(crate) mod subscriber; pub(crate) mod time; pub(crate) mod value; -#[cfg(all(feature = "unstable", feature = "plugins"))] -pub(crate) mod loader; diff --git a/zenoh/src/api/scouting.rs b/zenoh/src/api/scouting.rs index a3c86655b6..c4e411dec9 100644 --- a/zenoh/src/api/scouting.rs +++ b/zenoh/src/api/scouting.rs @@ -377,4 +377,3 @@ where handler: DefaultHandler::default(), } } - diff --git a/zenoh/src/net/runtime/mod.rs b/zenoh/src/net/runtime/mod.rs index 456899f918..4991844650 100644 --- a/zenoh/src/net/runtime/mod.rs +++ b/zenoh/src/net/runtime/mod.rs @@ -25,9 +25,9 @@ use super::routing; use super::routing::router::Router; #[cfg(all(feature = "unstable", feature = "plugins"))] use crate::api::loader::{load_plugins, start_plugins}; -use crate::config::{unwrap_or_default, Config, ModeDependent, Notifier}; #[cfg(all(feature = "unstable", feature = "plugins"))] use crate::api::plugins::PluginsManager; +use crate::config::{unwrap_or_default, Config, ModeDependent, Notifier}; use crate::{GIT_VERSION, LONG_VERSION}; pub use adminspace::AdminSpace; use futures::stream::StreamExt; diff --git a/zenohd/src/main.rs b/zenohd/src/main.rs index 3629e4dae4..d8fed7eeb4 100644 --- a/zenohd/src/main.rs +++ b/zenohd/src/main.rs @@ -19,9 +19,9 @@ use tracing_subscriber::util::SubscriberInitExt; use tracing_subscriber::EnvFilter; use zenoh::config::EndPoint; use zenoh::config::{Config, ModeDependentValue, PermissionsConf, ValidatedMap}; +use zenoh::core::AsyncResolve; use zenoh::core::Result; use zenoh::scouting::WhatAmI; -use zenoh::core::AsyncResolve; #[cfg(feature = "loki")] use url::Url;