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

vegafusion-core

Core components required by multiple VegaFusion crates, with WASM compatibility

42 releases (26 stable)

new 1.6.9 May 9, 2024
1.6.7 Apr 11, 2024
1.6.6 Mar 22, 2024
1.6.0-rc1 Dec 21, 2023
1.1.1 Mar 25, 2023

#2222 in Parser implementations

Download history 26/week @ 2024-01-27 4/week @ 2024-02-03 104/week @ 2024-02-10 22/week @ 2024-02-17 164/week @ 2024-02-24 18/week @ 2024-03-02 11/week @ 2024-03-09 55/week @ 2024-03-16 90/week @ 2024-03-23 30/week @ 2024-03-30 96/week @ 2024-04-06 61/week @ 2024-04-13 462/week @ 2024-04-20 2/week @ 2024-04-27 250/week @ 2024-05-04

815 downloads per month
Used in 2 crates

BSD-3-Clause

635KB
15K 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

~19–35MB
~571K SLoC