[package]
edition = "2024"
rust-version = "1.98"
name = "mlt-wasm"
version = "0.1.21"
authors = ["Maplibre Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebAssembly bindings for the MapLibre Tile (MLT) format"
homepage = "https://maplibre.org"
readme = "README.md"
keywords = [
"maplibre",
"tile",
"mlt",
"mvt",
"map",
]
categories = ["science::geo"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/maplibre/maplibre-tile-spec"
[package.metadata.wasm-pack.profile.release]
wasm-opt = [
"-O3",
"--enable-simd",
"--enable-bulk-memory",
]
[lib]
name = "mlt_wasm"
crate-type = ["cdylib"]
path = "src/lib.rs"
[dependencies.js-sys]
version = "0.3"
[dependencies.mlt-core]
version = "0.12.7"
[dependencies.wasm-bindgen]
version = "0.2"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
panic_in_result_fn = "warn"
todo = "warn"
too_many_lines = "allow"
unimplemented = "warn"
use_self = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
unused_qualifications = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]