Fix compilation

This commit is contained in:
Maximilian Ammann 2022-04-20 21:52:54 +02:00
parent 4455719ab8
commit fe404e52df
4 changed files with 3 additions and 4 deletions

View File

@ -7,6 +7,8 @@ edition = "2021"
[dependencies]
maplibre = { path = "../maplibre" }
env_logger = "0.9"
ndk-glue = "0.5.0" # version is required by winit
[lib]
crate-type = ["rlib", "cdylib"]

View File

@ -7,6 +7,7 @@ edition = "2021"
[dependencies]
maplibre = { path = "../maplibre" }
env_logger = "0.9"
[lib]
crate-type = ["staticlib"]

View File

@ -37,7 +37,6 @@ tracing-tracy = { version = "0.8", optional = true }
tracy-client = { version = "0.12.7", optional = true }
[target.'cfg(target_os = "android")'.dependencies]
ndk-glue = "0.5.0" # version is required by winit
winit = { version = "0.26", default-features = false }
# Use rusttls on android because cross compiling is difficult
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "gzip"] }

View File

@ -32,9 +32,6 @@ pub use web::*;
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub use apple::*;
#[cfg(target_os = "android")]
pub use android::*;
#[cfg(not(target_arch = "wasm32"))]
pub use noweb::*;