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"
|
2024-03-14 16:02:20 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-03-26 03:06:30 +00:00
|
|
|
|
|
|
|
[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-04-29 15:44:31 +00:00
|
|
|
android-activity = { version = "0.6.0", features = ["game-activity"] }
|
2024-06-17 11:06:29 +00:00
|
|
|
android_logger = "0.14.1"
|
2022-03-26 03:06:30 +00:00
|
|
|
|
2023-03-19 23:04:25 +00:00
|
|
|
jni = "0.21.1"
|
2024-04-29 15:44:31 +00:00
|
|
|
ndk = { version = "0.9.0", features = ["audio"] }
|
2023-03-19 23:04:25 +00:00
|
|
|
ndk-context = "0.1.1"
|
2022-03-26 03:06:30 +00:00
|
|
|
|
2024-01-21 23:31:24 +00:00
|
|
|
# Have to follow Ruffle with these.
|
2024-05-17 09:13:21 +00:00
|
|
|
wgpu = "0.20.0"
|
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
|
|
|
] }
|
2024-01-21 23:31:24 +00:00
|
|
|
|
2023-08-03 21:46:27 +00:00
|
|
|
ruffle_render_wgpu = { git = "https://github.com/ruffle-rs/ruffle.git", branch = "master" }
|
|
|
|
ruffle_video_software = { git = "https://github.com/ruffle-rs/ruffle.git", branch = "master" }
|
2024-04-12 16:13:14 +00:00
|
|
|
ruffle_frontend_utils = { git = "https://github.com/ruffle-rs/ruffle.git", branch = "master" }
|
2023-08-03 21:46:27 +00:00
|
|
|
|
2024-03-04 08:31:48 +00:00
|
|
|
log = "0.4.21"
|
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
|
|
|
|
2024-03-12 19:49:39 +00:00
|
|
|
# Redirect tracing to log
|
|
|
|
tracing = {version = "0.1.40", features = ["log", "log-always"]}
|
|
|
|
|
2024-06-10 14:25:18 +00:00
|
|
|
url = "2.5.1"
|
2024-03-18 20:41:14 +00:00
|
|
|
|
2024-06-03 10:23:44 +00:00
|
|
|
tokio = { version = "1.38.0", features = ["rt-multi-thread", "macros"]}
|
2024-04-12 14:58:22 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
jpegxr = ["ruffle_core/jpegxr"]
|