[package] name = "maplibre-winit" version = "0.0.3" description.workspace = true edition.workspace = true rust-version.workspace = true license.workspace = true keywords.workspace = true authors.workspace = true [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 = ["rt"] } [target.'cfg(target_os = "android")'.dependencies] winit = { version = "0.27.2", default-features = false } [target.'cfg(target_os = "linux")'.dependencies] winit = { version = "0.27.2", default-features = false, features = ["x11", "wayland"] } [target.'cfg(target_arch = "wasm32")'.dependencies] web-sys = { version = "0.3.58", features = ["Window"] } wasm-bindgen = "0.2.81" wasm-bindgen-futures = "0.4.31" [dependencies] maplibre = { path = "../maplibre", version = "0.0.3" } winit = { version = "0.27.2", default-features = false } cgmath = "0.18.0" instant = { version = "0.1.12", features = ["wasm-bindgen"] } # TODO: Untrusted dependency log = "0.4.17"