aramperes / nut-rs

rups: A Network UPS Tools (NUT) implementation in Rust.
https://crates.io/crates/rups
MIT License
23 stars 3 forks source link

Generify `blocking` and `tokio` modules #13

Closed aramperes closed 3 years ago

aramperes commented 3 years ago

The blocking and tokio modules have a lot of duplicated code. It should be possible to abstract a few things away.