Crates.io | maplibre_native |
lib.rs | maplibre_native |
version | |
source | src |
created_at | 2025-03-07 05:35:16.408209+00 |
updated_at | 2025-03-07 08:50:28.467146+00 |
description | Rust bindings to the MapLibre Native map rendering engine |
homepage | |
repository | https://github.com/nyurik/maplibre-native-rs |
max_upload_size | |
id | 1582390 |
Cargo.toml error: | TOML parse error at line 23, column 1 | 23 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Rust bindings to the MapLibre Native map rendering engine.
In order to compile, you must have the following dependencies (linux). No other system has been tested yet (PRs welcome). See the .github/workflows/ci.yml
for the full list of dependencies.
ccache
CMake
+ Ninja
build-esential
libcurl4-openssl-dev
libuv1-dev
libjpeg-dev
libpng-dev
libglfw3-dev
libwebp-dev
libopengl0
mesa-vulkan-drivers
make
.
Install it with cargo install just
.just
.just test
.This crate relies on the MapLibre Native library, which is compiled as part of the build process:
MLN_FROM_SOURCE
environment variable is set, the build script will compile the native library from that dir./maplibre-native
submodule, which will be used to compile the library. Make sure to run git submodule update --init --recursive
to fetch the submodule./maplibre-native
submodule, the build script assumes it is being run as a dependency, and will try to download the source into the OUT_DIR
. Note that the first might take significant time to download and compile.Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.