[package]
edition = "2024"
rust-version = "1.92"
name = "mlt-core"
version = "0.9.2"
authors = ["Maplibre Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MapLibre Tile library code"
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"
[features]
__private = []
arbitrary = [
"dep:arbitrary",
"geo-types/arbitrary",
]
default = []
[lib]
name = "mlt_core"
path = "src/lib.rs"
[[test]]
name = "geojson"
path = "tests/geojson.rs"
required-features = ["__private"]
[[test]]
name = "mvt_round_trip"
path = "tests/mvt_round_trip.rs"
required-features = ["__private"]
[[test]]
name = "snapshots"
path = "tests/snapshots.rs"
required-features = ["__private"]
[[test]]
name = "unknown_layer"
path = "tests/unknown_layer.rs"
[[bench]]
name = "bench_utils"
path = "benches/bench_utils.rs"
[[bench]]
name = "decoding_e2e"
path = "benches/decoding_e2e.rs"
harness = false
required-features = ["__private"]
[[bench]]
name = "decoding_strings"
path = "benches/decoding_strings.rs"
harness = false
required-features = ["__private"]
[[bench]]
name = "decoding_utils"
path = "benches/decoding_utils.rs"
harness = false
required-features = ["__private"]
[[bench]]
name = "encoding_e2e"
path = "benches/encoding_e2e.rs"
harness = false
required-features = ["__private"]
[[bench]]
name = "encoding_from_mvt"
path = "benches/encoding_from_mvt.rs"
harness = false
required-features = ["__private"]
[dependencies.arbitrary]
version = "1.4"
features = ["derive"]
optional = true
[dependencies.bitvec]
version = "1"
[dependencies.bytemuck]
version = "1.25.0"
[dependencies.derive-debug]
version = "0.1.2"
[dependencies.enum_dispatch]
version = "0.3"
[dependencies.fastpfor]
version = "0.9"
features = ["rust"]
[dependencies.fsst-rs]
version = "0.5"
[dependencies.geo]
version = "0.33.1"
features = ["earcut"]
default-features = false
[dependencies.geo-types]
version = "0.7.19"
[dependencies.hex]
version = "0.4.3"
[dependencies.hilbert_2d]
version = "1.1.0"
[dependencies.hotpath]
version = "0.15"
[dependencies.integer-encoding]
version = "4.0.2"
[dependencies.mvt]
version = "0.13.0"
[dependencies.mvt-reader]
version = "2.3.0"
[dependencies.num-traits]
version = "0.2.19"
[dependencies.num_enum]
version = "0.7.6"
[dependencies.probabilistic-collections]
version = "0.7"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.strum]
version = "0.28.0"
features = ["derive"]
default-features = false
[dependencies.thiserror]
version = "2.0.11"
[dependencies.union-find]
version = "0.4.4"
[dependencies.wide]
version = "1.1.1"
[dependencies.zigzag]
version = "0.1.0"
[dev-dependencies.brotli]
version = "8"
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.flate2]
version = "1"
[dev-dependencies.geo-types]
version = "0.7.19"
features = ["arbitrary"]
[dev-dependencies.insta]
version = "1.47.2"
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.proptest-derive]
version = "0.8"
[dev-dependencies.rstest]
version = "0.26.1"
[dev-dependencies.test_each_file]
version = "0.3.5"
[dev-dependencies.zstd]
version = "0.13"
[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)"]