-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
38 lines (31 loc) · 1.03 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "android-bindings"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[example]]
name = "simple"
crate-type = ["cdylib"]
#[lib]
#crate_type = ["cdylib"]
[build-dependencies]
jaffi = { version = "0.2.0" }
zip = "2.2.0"
[target.'cfg(target_os = "android")'.dependencies]
jaffi_support = { version = "0.2.0" }
[target.'cfg(target_os = "android")'.dev-dependencies]
jni = "0.21"
log = "0.4.14"
ndk = { version = "0.9", features = ["api-level-31"] }
ndk-sys = "0.6.0+11769913"
ndk-context = "0.1.1"
android_logger = "0.14.1"
android-activity = { version = "0.6", features = ["native-activity"] }
libc = "0.2"
winit = { version = "0.30.0", features = ["android-native-activity"] }
[package.metadata.android.sdk]
min_sdk_version = 21
target_sdk_version = 33
[patch.crates-io]
jaffi = { git = "https://github.com/simlay/jaffi.git", branch = "android-bindings" }
jaffi_support = { git = "https://github.com/simlay/jaffi.git", branch = "android-bindings" }