aramperes / nut-rs

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

Bi-directional protocol and serverbound API #28

Open aramperes opened 3 years ago

aramperes commented 3 years ago

Right now the network implementation and API are entirely client-sided. In order to re-implement server-side components (#26) and implement unit testing (#2), the network stack should support crafting packets for both directions.

The public API needs to be reworked a bit to support this.

aramperes commented 3 years ago

Bi-directional parsing is now implemented under the rups::proto module (#29)