diff --git a/Cargo.lock b/Cargo.lock index ea2c84de33a65..a7f3a3774e635 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -634,7 +634,7 @@ dependencies = [ "alsa", "core-foundation-sys 0.8.3", "coreaudio-rs", - "jni", + "jni 0.19.0", "js-sys", "lazy_static", "libc", @@ -1707,6 +1707,20 @@ dependencies = [ "walkdir", ] +[[package]] +name = "jni" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "039022cdf4d7b1cf548d31f60ae783138e5fd42013f6271049d7df7afadef96c" +dependencies = [ + "cesu8", + "combine", + "jni-sys", + "log", + "thiserror", + "walkdir", +] + [[package]] name = "jni-sys" version = "0.3.0" @@ -2126,6 +2140,12 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ndk-context" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b" + [[package]] name = "ndk-glue" version = "0.4.0" @@ -2453,7 +2473,7 @@ version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e15e22bc67e047fe342a32ecba55f555e3be6166b04dd157cd0f803dfa9f48e1" dependencies = [ - "jni", + "jni 0.19.0", "ndk 0.4.0", "ndk-glue 0.4.0", "num-derive", @@ -2790,6 +2810,15 @@ dependencies = [ "cty", ] +[[package]] +name = "raw-window-handle" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed7e3d950b66e19e0c372f3fa3fbbcf85b1746b571f74e0c2af6042a5c93420a" +dependencies = [ + "cty", +] + [[package]] name = "rayon" version = "1.5.1" @@ -3018,7 +3047,7 @@ dependencies = [ "futures", "image", "log", - "raw-window-handle", + "raw-window-handle 0.4.2", "ruffle_core", "ruffle_render_common_tess", "wasm-bindgen-futures", @@ -3863,13 +3892,19 @@ dependencies = [ [[package]] name = "webbrowser" -version = "0.5.5" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecad156490d6b620308ed411cfee90d280b3cbd13e189ea0d3fada8acc89158a" +checksum = "97d1fa1e5c829b2bf9eb1e28fb950248b797cd6a04866fbdfa8bc31e5eef4c78" dependencies = [ + "core-foundation 0.9.2", + "dirs", + "jni 0.20.0", + "log", + "ndk-context", + "objc", + "raw-window-handle 0.5.0", + "url", "web-sys", - "widestring", - "winapi", ] [[package]] @@ -3898,7 +3933,7 @@ dependencies = [ "log", "naga", "parking_lot", - "raw-window-handle", + "raw-window-handle 0.4.2", "serde", "smallvec", "wasm-bindgen", @@ -3925,7 +3960,7 @@ dependencies = [ "naga", "parking_lot", "profiling", - "raw-window-handle", + "raw-window-handle 0.4.2", "ron", "serde", "smallvec", @@ -3963,7 +3998,7 @@ dependencies = [ "parking_lot", "profiling", "range-alloc", - "raw-window-handle", + "raw-window-handle 0.4.2", "renderdoc-sys", "thiserror", "wasm-bindgen", @@ -3993,12 +4028,6 @@ dependencies = [ "safe_arch", ] -[[package]] -name = "widestring" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c168940144dd21fd8046987c16a46a33d5fc84eec29ef9dcddc2ac9e31526b7c" - [[package]] name = "winapi" version = "0.3.9" @@ -4053,7 +4082,7 @@ dependencies = [ "objc", "parking_lot", "percent-encoding", - "raw-window-handle", + "raw-window-handle 0.4.2", "smithay-client-toolkit", "wasm-bindgen", "wayland-client", diff --git a/desktop/Cargo.toml b/desktop/Cargo.toml index 50394ce4da703..636a2d804b411 100644 --- a/desktop/Cargo.toml +++ b/desktop/Cargo.toml @@ -15,7 +15,7 @@ env_logger = { version = "0.9", default-features = false, features = ["humantime generational-arena = "0.2.8" log = "0.4" winit = "0.26.1" -webbrowser = "0.5.5" +webbrowser = "0.8.7" url = "2.2.2" clipboard = "0.5.0" dirs = "4.0"