Skip to main content

ezu_translate/
lib.rs

1//! Translate map-engine styles into **ezu recipes** — the node-DAG
2//! [`Document`](https://docs.rs/ezu-style) JSON that ezu renders on the CPU.
3//!
4//! Map engines describe their maps in their own style languages. `ezu-translate`
5//! lowers those styles into ezu recipes so they can be rendered by ezu.
6//!
7//! [MapLibre GL] is the first frontend, exposed under the [`maplibre`] module
8//! (its public API is [`maplibre::convert`], [`maplibre::ConvertOptions`],
9//! [`maplibre::Report`], and [`maplibre::ConvertError`]). More engines can be
10//! added over time as sibling modules alongside it.
11//!
12//! [MapLibre GL]: https://maplibre.org/maplibre-style-spec/
13
14pub mod maplibre;