Generify commands in blocking/tokio (#24)

This commit is contained in:
Aram Peres 2021-07-31 22:28:01 -04:00 committed by GitHub
parent 65f25fb958
commit 6e82736808
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 211 additions and 166 deletions

View file

@ -12,7 +12,7 @@ pub use var::*;
/// Blocking client implementation for NUT.
pub mod blocking;
/// Async client implementation for NUT, using Tokio.
#[cfg(feature = "tokio")]
#[cfg(feature = "async")]
pub mod tokio;
mod cmd;