14 releases (4 breaking)

0.5.3 Oct 2, 2024
0.5.2 Sep 24, 2024
0.5.1 Jul 12, 2024
0.4.2 Jul 10, 2024
0.1.0 Jul 1, 2024

#994 in Network programming

MIT license

59KB
766 lines

ProtoViz

Example

A fast and intuitive way of creating figures for protocol documentation.

Supports many features:

  • Fixed and variable size fields
  • Big and Little Endianness
  • Many styling options (Background color, field color, text color)
  • Line wrapping
  • Field length and position subtitles
  • Custom field width

It uses Tera for generating the SVG file.

For a pratical use case, check the examples readme or the ProtoViz Website.


lib.rs:

ProtoViz

A fast and intuitive way of creating figures for protocol documentation.

For an example of how to use this library, check the examples folder or the ProtoViz Website.

Dependencies

~7–16MB
~206K SLoC