[package] # Underscore because the cargo-ndk gradle plugin doesn't transform a hyphen to it. name = "ruffle_android" version = "0.1.0" authors = ["TÖRÖK Attila "] edition = "2018" resolver = "2" license = "MIT OR Apache-2.0" [lib] crate-type = ["cdylib"] [profile.release] strip = "symbols" [dependencies] android-activity = { version = "0.6.0", features = ["game-activity"] } android_logger = "0.14.1" jni = "0.21.1" ndk = { version = "0.9.0", features = ["audio"] } ndk-context = "0.1.1" # Have to follow Ruffle with this. wgpu = "22.1.0" ruffle_core = { git = "https://github.com/ruffle-rs/ruffle.git", branch = "master", features = [ "audio", "symphonia", "mp3", "nellymoser", "lzma", "default_compatibility_rules", "default_font", ] } 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" } ruffle_frontend_utils = { git = "https://github.com/ruffle-rs/ruffle.git", branch = "master" } log = "0.4.22" log-panics = { version = "2.1.0", features = ["with-backtrace"]} # Redirect tracing to log tracing = {version = "0.1.40", features = ["log", "log-always"]} url = "2.5.2" webbrowser = "1.0.1" tokio = { version = "1.40.0", features = ["rt-multi-thread", "macros"]} [features] jpegxr = ["ruffle_core/jpegxr"]