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-02-01 20:14:46 +00:00
|
|
|
android-activity = { version = "0.5.2", 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-21 23:31:24 +00:00
|
|
|
ndk = { version = "0.8.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-04-18 15:14:57 +00:00
|
|
|
wgpu = "0.19.4"
|
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"]}
|
|
|
|
|
2023-11-29 19:34:51 +00:00
|
|
|
url = "2.5.0"
|
2024-03-18 20:41:14 +00:00
|
|
|
|
2024-04-12 16:13:14 +00:00
|
|
|
tokio = { version = "1.37.0", features = ["rt-multi-thread", "macros"]}
|
2024-04-12 14:58:22 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
jpegxr = ["ruffle_core/jpegxr"]
|