The pieces / weirdnet-render

weirdnet-render

Tables and line charts (or JSON describing them) drawn to PNG with input checks and size limits.

GitHub crates.io docs.rs weirdnet-render = "0.1"

What it is

Structured data drawn to PNG. Inputs are plain data, not any application’s types, and every entry point checks its input against Limits instead of drawing something unbounded.

What is in it

  • Table: column names and rows drawn as a grid with an 8×8 bitmap font.
  • Chart: x values and named series (gaps allowed) drawn as a line chart, with a legend.
  • JSON describing either one: {"columns":…,"rows":…}, arrays of objects or rows, or {"x":…,"series":…}.

Where it fits

  • Extracted from Muninn.
  • License: BSD-3-Clause.