diff --git a/Cargo.lock b/Cargo.lock index 151415758dfe..45e7bc309ade 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -569,7 +569,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "15b55663a85f33501257357e6421bb33e769d5c9ffb5ba0921c975a123e35e68" dependencies = [ "block-sys", - "objc2", + "objc2 0.4.1", +] + +[[package]] +name = "block2" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43ff7d91d3c1d568065b06c899777d1e48dcf76103a672a0adbc238a7f247f1e" +dependencies = [ + "objc2 0.5.1", ] [[package]] @@ -1482,7 +1491,7 @@ dependencies = [ "raw-window-handle 0.6.1", "smithay-clipboard", "web-time 0.2.4", - "webbrowser", + "webbrowser 0.8.15", "winit", ] @@ -2593,9 +2602,9 @@ version = "0.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99d3aaff8a54577104bafdf686ff18565c3b6903ca5782a2026ef06e2c7aa319" dependencies = [ - "block2", + "block2 0.3.0", "dispatch", - "objc2", + "objc2 0.4.1", ] [[package]] @@ -3556,7 +3565,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "559c5a40fdd30eb5e344fbceacf7595a81e242529fb4e21cf5f43fb4f11ff98d" dependencies = [ "objc-sys", - "objc2-encode", + "objc2-encode 3.0.0", +] + +[[package]] +name = "objc2" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4b25e1034d0e636cd84707ccdaa9f81243d399196b8a773946dcffec0401659" +dependencies = [ + "objc-sys", + "objc2-encode 4.0.1", ] [[package]] @@ -3565,6 +3584,22 @@ version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d079845b37af429bfe5dfa76e6d087d788031045b25cfc6fd898486fd9847666" +[[package]] +name = "objc2-encode" +version = "4.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88658da63e4cc2c8adb1262902cd6af51094df0488b760d6fd27194269c0950a" + +[[package]] +name = "objc2-foundation" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfaefe14254871ea16c7d88968c0ff14ba554712a20d76421eec52f0a7fb8904" +dependencies = [ + "block2 0.5.0", + "objc2 0.5.1", +] + [[package]] name = "objc_exception" version = "0.1.2" @@ -4332,7 +4367,7 @@ dependencies = [ "unic-langid", "url", "vergen", - "webbrowser", + "webbrowser 1.0.1", "wgpu", "winapi", "winit", @@ -4358,7 +4393,7 @@ dependencies = [ "tracing", "url", "urlencoding", - "webbrowser", + "webbrowser 1.0.1", "zip", ] @@ -6168,6 +6203,24 @@ dependencies = [ "web-sys", ] +[[package]] +name = "webbrowser" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "425ba64c1e13b1c6e8c5d2541c8fac10022ca584f33da781db01b5756aef1f4e" +dependencies = [ + "block2 0.5.0", + "core-foundation", + "home", + "jni", + "log", + "ndk-context", + "objc2 0.5.1", + "objc2-foundation", + "url", + "web-sys", +] + [[package]] name = "webpki-roots" version = "0.26.1" @@ -6629,7 +6682,7 @@ dependencies = [ "memmap2", "ndk", "ndk-sys", - "objc2", + "objc2 0.4.1", "once_cell", "orbclient", "percent-encoding", diff --git a/desktop/Cargo.toml b/desktop/Cargo.toml index 288a53311026..661a3799286f 100644 --- a/desktop/Cargo.toml +++ b/desktop/Cargo.toml @@ -28,7 +28,7 @@ tracing = { workspace = true } tracing-subscriber = { workspace = true } tracing-appender = "0.2.3" winit = "0.29.15" -webbrowser = "0.8.15" +webbrowser = "1.0.1" url = { workspace = true } dirs = "5.0" rfd = "0.14.1" diff --git a/frontend-utils/Cargo.toml b/frontend-utils/Cargo.toml index b9c01f257559..6b4828fe7232 100644 --- a/frontend-utils/Cargo.toml +++ b/frontend-utils/Cargo.toml @@ -24,7 +24,7 @@ futures = { workspace = true } async-io = "2.3.2" async-net = "2.0.0" futures-lite = "2.3.0" -webbrowser = "0.8.15" +webbrowser = "1.0.1" reqwest = { version = "0.12.4", default-features = false, features = ["rustls-tls", "cookies", "charset", "http2", "macos-system-configuration"] } tokio = { workspace = true }