Skip to content

Commit

Permalink
missing imports added
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Sep 12, 2024
1 parent 48cd160 commit d369f86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 4 additions & 2 deletions zenoh/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,10 @@ pub mod time {
/// Configuration to pass to [`open`] and [`scout`] functions and associated constants
pub mod config {
pub use zenoh_config::{
client, unwrap_or_default, Config, EndPoint, Locator, ModeDependent, ModeDependentValue,
Notifier, PermissionsConf, PluginLoad, ValidatedMap, WhatAmI, ZenohId,
default, unwrap_or_default, Config, ConnectionRetryConf, DownsamplingItemConf,
DownsamplingRuleConf, EndPoint, InterceptorFlow, Locator, ModeDependent,
ModeDependentValue, Notifier, PermissionsConf, PluginLoad, ValidatedMap, WhatAmI,
WhatAmIMatcher, ZenohId,
};
}

Expand Down
2 changes: 1 addition & 1 deletion zenoh/tests/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
use std::time::Duration;

use zenoh::{config, query::Reply, sample::SampleKind, Session};
use zenoh::{query::Reply, sample::SampleKind, Session};
use zenoh_core::ztimeout;

const TIMEOUT: Duration = Duration::from_secs(10);
Expand Down
4 changes: 1 addition & 3 deletions zenoh/tests/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ use std::{
use zenoh::internal::runtime::{Runtime, RuntimeBuilder};
#[cfg(feature = "unstable")]
use zenoh::pubsub::Reliability;
use zenoh::{
config, key_expr::KeyExpr, prelude::*, qos::CongestionControl, sample::SampleKind, Session,
};
use zenoh::{key_expr::KeyExpr, prelude::*, qos::CongestionControl, sample::SampleKind, Session};
use zenoh_core::ztimeout;
#[cfg(not(feature = "unstable"))]
use zenoh_protocol::core::Reliability;
Expand Down

0 comments on commit d369f86

Please sign in to comment.