mirror of
https://github.com/arampoire/nut-rs.git
synced 2025-12-01 00:30:23 -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.
|
/// Blocking client implementation for NUT.
|
||||||
pub mod blocking;
|
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.
|
/// Async client implementation for NUT, using Tokio.
|
||||||
#[cfg(feature = "async")]
|
#[cfg(feature = "async")]
|
||||||
pub mod tokio;
|
pub mod tokio;
|
||||||
|
|
@ -19,9 +24,6 @@ pub mod tokio;
|
||||||
mod cmd;
|
mod cmd;
|
||||||
mod config;
|
mod config;
|
||||||
mod error;
|
mod error;
|
||||||
/// Bi-directional networking protocol implementation.
|
|
||||||
#[allow(dead_code)]
|
|
||||||
mod proto;
|
|
||||||
#[cfg(feature = "ssl")]
|
#[cfg(feature = "ssl")]
|
||||||
mod ssl;
|
mod ssl;
|
||||||
mod util;
|
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 {
|
macro_rules! impl_words {
|
||||||
(
|
(
|
||||||
$(
|
$(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue