mirror of
https://github.com/arampoire/nut-rs.git
synced 2025-11-30 16:20:25 -05:00
Make proto module public
This commit is contained in:
parent
779d279681
commit
472395ca14
2 changed files with 5 additions and 6 deletions
|
|
@ -12,6 +12,11 @@ pub use var::*;
|
|||
|
||||
/// Blocking client implementation for NUT.
|
||||
pub mod blocking;
|
||||
/// NUT protocol implementation (v1.2).
|
||||
///
|
||||
/// Reference: <https://networkupstools.org/docs/developer-guide.chunked/ar01s09.html>
|
||||
#[allow(dead_code)]
|
||||
pub mod proto;
|
||||
/// Async client implementation for NUT, using Tokio.
|
||||
#[cfg(feature = "async")]
|
||||
pub mod tokio;
|
||||
|
|
@ -19,9 +24,6 @@ pub mod tokio;
|
|||
mod cmd;
|
||||
mod config;
|
||||
mod error;
|
||||
/// Bi-directional networking protocol implementation.
|
||||
#[allow(dead_code)]
|
||||
mod proto;
|
||||
#[cfg(feature = "ssl")]
|
||||
mod ssl;
|
||||
mod util;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
///! NUT protocol implementation (v1.2).
|
||||
///! Reference: https://networkupstools.org/docs/developer-guide.chunked/ar01s09.html
|
||||
|
||||
macro_rules! impl_words {
|
||||
(
|
||||
$(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue