Skip to content

Commit 1e3481e

Browse files
authored
Start work on generic protocol impl for #28 (#29)
1 parent ff77c1b commit 1e3481e

File tree

4 files changed

+1450
-0
lines changed

4 files changed

+1450
-0
lines changed

rups/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ pub use var::*;
1212

1313
/// Blocking client implementation for NUT.
1414
pub mod blocking;
15+
/// NUT protocol implementation (v1.2).
16+
///
17+
/// Reference: <https://networkupstools.org/docs/developer-guide.chunked/ar01s09.html>
18+
#[allow(dead_code)]
19+
#[macro_use]
20+
pub mod proto;
1521
/// Async client implementation for NUT, using Tokio.
1622
#[cfg(feature = "async")]
1723
pub mod tokio;

0 commit comments

Comments
 (0)