Make proto module public

This commit is contained in:
Aram 🍐 2021-08-03 19:51:08 -04:00
parent 779d279681
commit 472395ca14
2 changed files with 5 additions and 6 deletions

View file

@ -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;

View file

@ -1,6 +1,3 @@
///! NUT protocol implementation (v1.2).
///! Reference: https://networkupstools.org/docs/developer-guide.chunked/ar01s09.html
macro_rules! impl_words {
(
$(