mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
* Upgrade toolchain to 1.65 * Set minimum Rust version * Cargo workspaces * Set version manually * Set a specific rust version so we an upgrade is triggered * Use debug for wgpu-info for speedier compile * Install specific rev of wgpu-info * Fix windows build
32 lines
935 B
TOML
32 lines
935 B
TOML
[package]
|
|
name = "maplibre-android" # Naming this "android" is not possible. Compilation fails.
|
|
version = "0.1.0"
|
|
publish = false
|
|
|
|
description.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
keywords.workspace = true
|
|
authors.workspace = true
|
|
|
|
[dependencies]
|
|
maplibre = { path = "../maplibre", features = ["thread-safe-futures"] }
|
|
maplibre-winit = { path = "../maplibre-winit", version = "0.1.0" }
|
|
env_logger = "0.9.0"
|
|
log = "0.4.17"
|
|
ndk-glue = "0.7.0" # version is required by winit
|
|
jni = "0.19.0"
|
|
|
|
[lib]
|
|
#name = "maplibre_android" Currently not supported: https://github.com/rust-windowing/android-ndk-rs/issues/136
|
|
crate-type = ["rlib", "cdylib"]
|
|
|
|
[package.metadata.android]
|
|
apk_name = "maplibre-rs-demo"
|
|
|
|
[[package.metadata.android.uses_permission]]
|
|
name = "android.permission.INTERNET"
|
|
[[package.metadata.android.uses_permission]]
|
|
name = "android.permission.ACCESS_NETWORK_STATE"
|