2022-03-26 03:06:30 +00:00
|
|
|
[package]
|
2023-08-12 12:28:32 +00:00
|
|
|
# Underscore because the cargo-ndk gradle plugin doesn't transform a hyphen to it.
|
|
|
|
name = "ruffle_android"
|
2022-03-26 03:06:30 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["TÖRÖK Attila <torokati44@gmail.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
resolver = "2"
|
|
|
|
|
|
|
|
[lib]
|
2023-08-03 21:46:27 +00:00
|
|
|
crate-type = ["cdylib"]
|
2022-03-26 03:06:30 +00:00
|
|
|
|
2023-08-05 00:16:49 +00:00
|
|
|
[profile.release]
|
|
|
|
strip = "symbols"
|
|
|
|
|
2022-03-26 03:06:30 +00:00
|
|
|
[dependencies]
|
2023-08-03 21:46:27 +00:00
|
|
|
|
2024-01-16 20:54:51 +00:00
|
|
|
android-activity = { version = "0.5.1", features = ["game-activity"] }
|
2023-08-05 00:48:11 +00:00
|
|
|
android_logger = "0.13.3"
|
2022-03-26 03:06:30 +00:00
|
|
|
|
2023-03-19 23:04:25 +00:00
|
|
|
jni = "0.21.1"
|
2024-01-16 20:54:51 +00:00
|
|
|
# rwh 0.6 is enabled by default, we're not there yet
|
|
|
|
ndk = { version = "0.8.0", features = ["audio"], default-features = false }
|
2023-03-19 23:04:25 +00:00
|
|
|
ndk-context = "0.1.1"
|
2022-03-26 03:06:30 +00:00
|
|
|
|
2024-01-16 20:54:51 +00:00
|
|
|
winit = { version = "0.29.10", features = ["android-game-activity", "rwh_05"], default-features = false }
|
2023-10-15 22:51:47 +00:00
|
|
|
# Have to follow Ruffle with this.
|
2023-12-13 07:58:08 +00:00
|
|
|
wgpu = { git = "https://github.com/gfx-rs/wgpu", branch = "v0.18" }
|
2023-08-03 21:46:27 +00:00
|
|
|
|
|
|
|
ruffle_core = { git = "https://github.com/ruffle-rs/ruffle.git", branch = "master", features = [
|
|
|
|
"audio",
|
|
|
|
"symphonia",
|
|
|
|
"mp3",
|
|
|
|
"nellymoser",
|
|
|
|
"lzma",
|
2023-10-25 14:23:50 +00:00
|
|
|
"default_compatibility_rules",
|
|
|
|
"default_font",
|
2023-08-03 21:46:27 +00:00
|
|
|
] }
|
|
|
|
ruffle_render_wgpu = { git = "https://github.com/ruffle-rs/ruffle.git", branch = "master" }
|
|
|
|
ruffle_video = { git = "https://github.com/ruffle-rs/ruffle.git", branch = "master" }
|
|
|
|
ruffle_video_software = { git = "https://github.com/ruffle-rs/ruffle.git", branch = "master" }
|
|
|
|
|
2023-09-23 10:16:31 +00:00
|
|
|
log = "0.4.20"
|
2023-08-04 20:24:42 +00:00
|
|
|
log-panics = { version = "2.1.0", features = ["with-backtrace"]}
|
2023-08-03 21:46:27 +00:00
|
|
|
|
2023-11-29 19:34:51 +00:00
|
|
|
url = "2.5.0"
|
2023-08-03 21:46:27 +00:00
|
|
|
generational-arena = "0.2.9"
|
2023-11-28 00:36:12 +00:00
|
|
|
async-channel = "2.1.1"
|
2023-10-15 22:51:47 +00:00
|
|
|
|
|
|
|
# Have to follow Ruffle with this.
|
|
|
|
[patch.crates-io]
|
2023-12-13 07:58:08 +00:00
|
|
|
wgpu = { git = "https://github.com/gfx-rs/wgpu", branch = "v0.18" }
|
|
|
|
naga = { git = "https://github.com/gfx-rs/wgpu", branch = "v0.18" }
|