Start work on generic protocol impl for #28 (#29)

This commit is contained in:
Aram Peres 2021-08-04 02:11:44 -04:00 committed by GitHub
parent ff77c1bdbd
commit 1e3481e18d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1450 additions and 0 deletions

View file

@ -12,6 +12,12 @@ 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)]
#[macro_use]
pub mod proto;
/// Async client implementation for NUT, using Tokio.
#[cfg(feature = "async")]
pub mod tokio;