[package] name = "maplibre" version = "0.0.2" edition = "2021" build = "build.rs" authors = ["Maximilian Ammann "] license = "MIT OR Apache-2.0" description = "Native Maps for Web, Mobile and Desktop" readme = "../README.md" [features] web-webgl = ["wgpu/webgl"] # Enable tracing using tracy on desktop/mobile and the chrome profiler on web enable-tracing = [ "tracing-subscriber", "tracing-tracy", "tracy-client"] no-thread-safe-futures = [] [target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "linux", target_os = "android", target_os = "windows"))'.dependencies] tokio = { version = "1.17", features = ["macros", "rt", "rt-multi-thread", "sync", "time"] } env_logger = "0.9" reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "gzip"] } reqwest-middleware-cache = "0.1" # FIXME: Untrusted dependency reqwest-middleware = { version = "0.1" } # FIXME: Untrusted dependency tracing-tracy = { version = "0.8", optional = true } tracy-client = { version = "0.12.7", optional = true } [target.'cfg(target_os = "android")'.dependencies] # Use rusttls on android because cross compiling is difficult reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "gzip"] } [dependencies] async-trait = "0.1" instant = { version = "0.1", features = ["wasm-bindgen"] } # FIXME: Untrusted dependency raw-window-handle = "0.4" tracing = { version = "0.1" } tracing-subscriber = { version = "0.3", optional = true } cgmath = "0.18" geo = { version = "0.19" } geo-types = { version = "0.7", features = ["use-rstar_0_9"] } rstar = { version = "0.9" } prost = "0.10.1" geozero = { version = "0.9.4", default-features = false, features = ["with-mvt", "with-geo"]} tile-grid = "0.3" # Rendering wgpu = { version = "0.12" } lyon = { version = "0.17", features = [] } # cached = "0.32" # Logging log = "0.4" # Utils bytemuck = "1.2.0" bytemuck_derive = "1.0" include_dir = "0.7.2" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" csscolorparser = { version = "0.5", features = ["serde", "cint"]} cint = "0.2" [build-dependencies] maplibre-build-tools = { path = "../maplibre-build-tools", version = "0.1.0" }