12 releases (4 breaking)
0.5.1 | Jul 12, 2024 |
---|---|
0.5.0 | Jul 12, 2024 |
0.4.2 | Jul 10, 2024 |
0.3.2 | Jul 4, 2024 |
0.1.0 | Jul 1, 2024 |
#312 in Images
59KB
620 lines
ProtoViz
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
~211K SLoC