#json-parser #expression-parser #graph #task #vega #planning #specification

vegafusion-core

Core components required by multiple VegaFusion crates, with WASM compatibility

45 releases (28 stable)

2.0.1 Nov 25, 2024
1.6.9 May 9, 2024
1.6.6 Mar 22, 2024
1.6.0-rc1 Dec 21, 2023
1.1.1 Mar 25, 2023

#1537 in Parser implementations

Download history 64/week @ 2024-09-23 4/week @ 2024-09-30 89/week @ 2024-11-11 155/week @ 2024-11-18 197/week @ 2024-11-25 45/week @ 2024-12-02

486 downloads per month
Used in 2 crates

BSD-3-Clause

525KB
13K SLoC

vegafusion-core

This crate contains all the logic to convert an input Vega specification into a VegaFusion task graph. In particular, it contains:

  • JSON parsing
  • Planning
  • Protocol buffer definitions and generated types for the task graph
  • Vega expression parsing

It may be desirable to split the crate in the future, but we don't yet have any applications that require only a subset of this functionality.

Dependencies

~34–50MB
~840K SLoC