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

#613 in Network programming

Download history 633/week @ 2024-07-01 542/week @ 2024-07-08 14/week @ 2024-07-15 45/week @ 2024-07-29 1/week @ 2024-08-26 14/week @ 2024-09-16 190/week @ 2024-09-23 207/week @ 2024-09-30 13/week @ 2024-10-07

424 downloads per month

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
~209K SLoC