maplibre-rs/maplibre/Cargo.toml
Birk Skyum 99a74d35df
Update deps with cargo upgrade (#152)
* Update deps with cargo upgrade

* Keep tracy versions aligned
2022-07-08 18:20:47 +02:00

87 lines
2.4 KiB
TOML

[package]
name = "maplibre"
version = "0.0.2"
edition = "2021"
build = "build.rs"
authors = ["Maximilian Ammann <max@maxammann.org>"]
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
trace = ["tracing-subscriber", "tracing-tracy", "tracy-client"]
no-thread-safe-futures = []
embed-static-tiles = ["maplibre-build-tools/sqlite"]
headless = ["png"]
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "linux", target_os = "android", target_os = "windows"))'.dependencies]
tokio = { version = "1.19.2", features = ["macros", "rt", "rt-multi-thread", "sync", "time"] }
env_logger = "0.9.0"
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "gzip"] }
reqwest-middleware-cache = "0.1.1" # FIXME: Untrusted dependency
reqwest-middleware = "0.1.6" # 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.11", default-features = false, features = ["rustls-tls", "gzip"] }
[dependencies]
async-trait = "0.1.56"
instant = { version = "0.1.12", features = ["wasm-bindgen"] } # FIXME: Untrusted dependency
# Tracing
tracing = "0.1.35"
tracing-subscriber = { version = "0.3.14", optional = true }
# Maths
cgmath = "0.18.0"
# Geo
geo = "0.22.1"
geo-types = { version = "0.7.6", features = ["use-rstar_0_9"] }
rstar = "0.9.3"
prost = "0.10.4"
geozero = { version = "0.9.4", default-features = false, features = ["with-mvt", "with-geo"] }
tile-grid = "0.3.0"
# Rendering
wgpu = "0.13.1"
lyon = { version = "0.17.10", features = [] }
raw-window-handle = "0.4.3"
# cached = "0.32"
# Logging
log = "0.4.17"
# Utils
bytemuck = "1.10.0"
bytemuck_derive = "1.1.0"
# Static tiles inclusion
include_dir = "0.7.2"
# JSON
serde = { version = "1.0.138", features = ["derive"] }
serde_json = "1.0.82"
# Colors
csscolorparser = { version = "0.6.0", features = ["serde", "cint"] }
cint = "0.3.1"
# Required by bevy renderer
thiserror = "1.0.31"
downcast-rs = "1.2.0"
smallvec = "1.9.0"
# Headless
png = { version = "0.17.5", optional = true }
[build-dependencies]
maplibre-build-tools = { path = "../maplibre-build-tools", version = "0.1.0" }