ruffle-android/native/Cargo.toml

52 lines
1.6 KiB
TOML
Raw Normal View History

2022-03-26 03:06:30 +00:00
[package]
# 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
[profile.release]
strip = "symbols"
2022-03-26 03:06:30 +00:00
[dependencies]
2023-08-03 21:46:27 +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
jni = "0.21.1"
# rwh 0.6 is enabled by default, we're not there yet
ndk = { version = "0.8.0", features = ["audio"], default-features = false }
ndk-context = "0.1.1"
2022-03-26 03:06:30 +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.
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",
"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" }
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
url = "2.5.0"
2023-08-03 21:46:27 +00:00
generational-arena = "0.2.9"
async-channel = "2.1.1"
2023-10-15 22:51:47 +00:00
# Have to follow Ruffle with this.
[patch.crates-io]
wgpu = { git = "https://github.com/gfx-rs/wgpu", branch = "v0.18" }
naga = { git = "https://github.com/gfx-rs/wgpu", branch = "v0.18" }