aramperes / nut-rs

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

Bi-directional protocol and serverbound API #28

Open aramperes opened 2 years ago

aramperes commented 2 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 2 years ago

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