Overview

This crate provides a self-contained Rust library for converting Vega-Lite visualization specifications to Vega specifications. The conversion is performed using the Vega-Lite JavaScript library running in a v8 JavaScript runtime provided by the deno_core crate.

This crate is a dependency of the vl-convert CLI application crate and the vl-convert-python Python library.

Example

The [VlConverter] struct may be used to perform Vega-Lite to Vega specification conversions. See the documentation of [VlConverter] for example usage.

JavaScript Vendoring and Code Generation

Note: The vl-convert-rs/vendor directory and vl-convert-rs/src/module_loader/import_map.rs file in this crate are generated by the internal vl-convert-vendor crate.