[package]
edition = "2024"
rust-version = "1.98"
name = "mlt-py"
version = "0.2.7"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Python bindings for MapLibre Tile (MLT) format via PyO3"
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]
abi3 = [
"pyo3/abi3-py310",
"generate-import-lib",
]
generate-import-lib = ["pyo3/generate-import-lib"]
[lib]
name = "mlt_py"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "stub-gen"
path = "src/bins/stub_gen.rs"
required-features = ["abi3"]
[dependencies.mlt-core]
version = "0.19.2"
features = ["unstable-v2"]
[dependencies.pyo3]
version = "0.29.0"
[dependencies.pyo3-stub-gen]
version = "0.23.0"
[dependencies.pythonize]
version = "0.29"
[dependencies.serde_json]
version = "1.0.150"
[dev-dependencies.pyo3]
version = "0.29.0"
features = ["auto-initialize"]
[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"
wildcard_enum_match_arm = "warn"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"
unused_qualifications = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]