mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Fix compilation
This commit is contained in:
parent
4455719ab8
commit
fe404e52df
@ -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"]
|
||||
|
||||
@ -7,6 +7,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
maplibre = { path = "../maplibre" }
|
||||
env_logger = "0.9"
|
||||
|
||||
[lib]
|
||||
crate-type = ["staticlib"]
|
||||
|
||||
@ -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"] }
|
||||
|
||||
@ -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::*;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user