maplibre-native-next
A Rust port of the MapLibre Native core, tested against the C++ core in
../maplibre-native. Start with PLAN.md; working rules are in
PORTING.md.
The tasks are in the justfile (just lists them; install
just with cargo install just or
your package manager):
# difftests, tools), the render
# test suite, and Cargo
# The GLFW app: OpenFreeMap Liberty in a window (needs a display and the
# system GLFW; wgpu picks Vulkan on Linux and Metal on macOS).
Bazel always runs through just bazel: on NixOS that runs it inside the
C++ repo's #linux dev shell.
The tests of the libraries in crates/ and vendor/ also run with Cargo.
The difftests and the tools' suites (render and expression tests) need Bazel.
As under Bazel, the tests read the C++ core's test data from
../maplibre-native, with its vendor/ submodules (.cargo/config.toml
points them there), and the GPU tests need an adapter: Metal on macOS,
Vulkan on Linux (without a GPU, lavapipe through VK_DRIVER_FILES).
CI runs the justfile's ci-* recipes: just ci-lint checks the
formatting, and runs clippy and rustdoc with warnings as errors.