[package]
edition = "2024"
rust-version = "1.91"
name = "mbgl-sys"
version = "0.1.4"
build = "build.rs"
links = "mbgl"
include = [
"src/**/*.rs",
"cpp/**",
"build.rs",
"Cargo.toml",
"LICENSE",
"README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level FFI bindings to MapLibre GL Native for server-side map rendering"
readme = "README.md"
keywords = [
"maplibre",
"mapbox",
"opengl",
"ffi",
"rendering",
]
categories = [
"external-ffi-bindings",
"graphics",
"rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vinayakkulkarni/tileserver-rs"
[features]
bundled = []
default = ["bundled"]
prebuilt = [
"dep:ureq",
"dep:tar",
"dep:flate2",
"dep:sha2",
]
system = []
[lib]
name = "mbgl_sys"
path = "src/lib.rs"
[dependencies.libc]
version = "0.2"
[build-dependencies.cc]
version = "1.2"
[build-dependencies.cmake]
version = "0.1"
[build-dependencies.flate2]
version = "1.1.9"
optional = true
[build-dependencies.pkg-config]
version = "0.3"
[build-dependencies.sha2]
version = "0.11.0"
optional = true
[build-dependencies.tar]
version = "0.4"
optional = true
[build-dependencies.ureq]
version = "3"
features = ["rustls"]
optional = true
default-features = false
[lints.clippy]
complexity = "warn"
perf = "warn"
style = "warn"
suspicious = "warn"
undocumented_unsafe_blocks = "warn"
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.rust]