Skip to content

Commit

Permalink
admin to api
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Apr 3, 2024
1 parent a92da35 commit 60a9003
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions zenoh/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// ZettaScale Zenoh Team, <[email protected]>
//

pub(crate) mod admin;
pub(crate) mod builders;
pub(crate) mod encoding;
pub(crate) mod handlers;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion zenoh/src/api/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// Contributors:
// ZettaScale Zenoh Team, <[email protected]>
//
use crate::admin;
use crate::api::admin;
use crate::api::encoding::Encoding;
use crate::api::handlers::{Callback, DefaultHandler};
use crate::api::info::SessionInfo;
Expand Down
2 changes: 1 addition & 1 deletion zenoh/src/api/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
use std::convert::TryFrom;

use zenoh_protocol::core::{Timestamp, TimestampId, NTP64};
use zenoh_protocol::core::{Timestamp, TimestampId};

/// Generates a reception [`Timestamp`] with id=0x01.
/// This operation should be called if a timestamp is required for an incoming [`zenoh::Sample`](crate::Sample)
Expand Down
3 changes: 0 additions & 3 deletions zenoh/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,6 @@ pub mod time {
pub use zenoh_protocol::core::{Timestamp, TimestampId, NTP64};
}

mod admin;
#[macro_use]

mod api;
pub(crate) mod net;
pub use net::runtime;
Expand Down

0 comments on commit 60a9003

Please sign in to comment.