From a1107de0c0bce8bcac73441198b3144b0930a5e4 Mon Sep 17 00:00:00 2001 From: Steve Schoettler Date: Tue, 15 Apr 2025 14:19:47 -0700 Subject: [PATCH] Update axum and many dependencies (#3825) * Update many dependencies; includes prs 3820 (axum 0.8.1), 3810 (wry 0.50.1), 3801 (tauri) --------- Co-authored-by: Jonathan Kelley --- Cargo.lock | 852 ++++++++++-------- Cargo.toml | 181 ++-- example-projects/file-explorer/Cargo.toml | 2 +- .../fullstack-hackernews/Cargo.toml | 2 +- example-projects/wifi-scanner/Cargo.toml | 1 - examples/fullstack-auth/Cargo.toml | 2 +- examples/fullstack-desktop/Cargo.toml | 2 +- examples/fullstack-hello-world/Cargo.toml | 2 +- examples/fullstack-router/Cargo.toml | 4 +- packages/autofmt/Cargo.toml | 6 +- packages/check/Cargo.toml | 4 +- packages/cli-opt/Cargo.toml | 12 +- packages/cli/Cargo.toml | 74 +- packages/cli/src/bundle_utils.rs | 1 + packages/cli/src/config/bundle.rs | 2 + packages/const-serialize/Cargo.toml | 2 +- packages/core-types/Cargo.toml | 2 +- packages/core/Cargo.toml | 5 +- packages/desktop/Cargo.toml | 76 +- packages/desktop/src/config.rs | 2 +- packages/devtools/Cargo.toml | 6 +- packages/dioxus/Cargo.toml | 48 +- packages/dioxus/src/launch.rs | 11 +- packages/document/Cargo.toml | 4 +- packages/fullstack-protocol/Cargo.toml | 6 +- packages/fullstack/Cargo.toml | 27 +- packages/history/Cargo.toml | 2 +- packages/hooks/Cargo.toml | 4 +- packages/html/Cargo.toml | 18 +- packages/interpreter/Cargo.toml | 6 +- packages/liveview/Cargo.toml | 8 +- packages/logger/Cargo.toml | 7 +- packages/manganis/manganis-macro/Cargo.toml | 2 +- packages/mobile/Cargo.toml | 5 +- .../cli-optimization/Cargo.toml | 4 +- .../fullstack-mounted/Cargo.toml | 2 +- .../playwright-tests/fullstack/Cargo.toml | 2 +- .../nested-suspense/Cargo.toml | 2 +- .../suspense-carousel/Cargo.toml | 4 +- .../wasm-split-harness/Cargo.toml | 3 +- packages/playwright-tests/web/Cargo.toml | 8 +- packages/rsx-rosetta/Cargo.toml | 2 +- packages/server-macro/Cargo.toml | 9 +- packages/web/Cargo.toml | 34 +- 44 files changed, 787 insertions(+), 671 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6dd5ba63b..fba4d76c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -35,7 +35,7 @@ dependencies = [ "atspi-common", "serde", "thiserror 1.0.69", - "zvariant", + "zvariant 4.2.0", ] [[package]] @@ -78,7 +78,7 @@ dependencies = [ "futures-lite", "futures-util", "serde", - "zbus", + "zbus 4.4.0", ] [[package]] @@ -306,9 +306,9 @@ dependencies = [ [[package]] name = "ansi-to-tui" -version = "6.0.1" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd01ee70df708c9ecb68705af08cee6fe85493992a7e205c52ddbe569314ba47" +checksum = "67555e1f1ece39d737e28c8a017721287753af3f93225e4a445b29ccb0f5912c" dependencies = [ "nom", "ratatui", @@ -617,19 +617,20 @@ dependencies = [ [[package]] name = "ashpd" -version = "0.8.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd884d7c72877a94102c3715f3b1cd09ff4fac28221add3e57cfbe25c236d093" +checksum = "6cbdf310d77fd3aaee6ea2093db7011dc2d35d2eb3481e5607f1f8d942ed99df" dependencies = [ "enumflags2", "futures-channel", "futures-util", - "rand 0.8.5", + "rand 0.9.0", + "raw-window-handle 0.6.2", "serde", "serde_repr", "tokio", "url", - "zbus", + "zbus 5.5.0", ] [[package]] @@ -729,7 +730,7 @@ version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "59a194f9d963d8099596278594b3107448656ba73831c9d8c783e613ce86da64" dependencies = [ - "brotli 7.0.0", + "brotli", "flate2", "futures-core", "futures-io", @@ -878,7 +879,7 @@ dependencies = [ "futures-core", "futures-io", "futures-lite", - "gloo-timers 0.3.0", + "gloo-timers", "kv-log-macro", "log", "memchr", @@ -1004,11 +1005,11 @@ dependencies = [ "enumflags2", "serde", "static_assertions", - "zbus", + "zbus 4.4.0", "zbus-lockstep", "zbus-lockstep-macros", - "zbus_names", - "zvariant", + "zbus_names 3.0.0", + "zvariant 4.2.0", ] [[package]] @@ -1020,7 +1021,7 @@ dependencies = [ "atspi-common", "atspi-proxies", "futures-lite", - "zbus", + "zbus 4.4.0", ] [[package]] @@ -1031,8 +1032,8 @@ checksum = "a5e6c5de3e524cf967569722446bcd458d5032348554d9a17d7d72b041ab7496" dependencies = [ "atspi-common", "serde", - "zbus", - "zvariant", + "zbus 4.4.0", + "zvariant 4.2.0", ] [[package]] @@ -1110,34 +1111,6 @@ dependencies = [ "fs_extra", ] -[[package]] -name = "axum" -version = "0.6.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" -dependencies = [ - "async-trait", - "axum-core 0.3.4", - "bitflags 1.3.2", - "bytes", - "futures-util", - "http 0.2.12", - "http-body 0.4.6", - "hyper 0.14.32", - "itoa 1.0.15", - "matchit 0.7.3", - "memchr", - "mime", - "percent-encoding", - "pin-project-lite", - "rustversion", - "serde", - "sync_wrapper 0.1.2", - "tower 0.4.13", - "tower-layer", - "tower-service", -] - [[package]] name = "axum" version = "0.7.9" @@ -1163,7 +1136,6 @@ dependencies = [ "tower 0.5.2", "tower-layer", "tower-service", - "tracing", ] [[package]] @@ -1197,30 +1169,13 @@ dependencies = [ "sha1", "sync_wrapper 1.0.2", "tokio", - "tokio-tungstenite 0.26.2", + "tokio-tungstenite", "tower 0.5.2", "tower-layer", "tower-service", "tracing", ] -[[package]] -name = "axum-core" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c" -dependencies = [ - "async-trait", - "bytes", - "futures-util", - "http 0.2.12", - "http-body 0.4.6", - "mime", - "rustversion", - "tower-layer", - "tower-service", -] - [[package]] name = "axum-core" version = "0.4.5" @@ -1239,7 +1194,6 @@ dependencies = [ "sync_wrapper 1.0.2", "tower-layer", "tower-service", - "tracing", ] [[package]] @@ -1264,22 +1218,21 @@ dependencies = [ [[package]] name = "axum-extra" -version = "0.9.6" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c794b30c904f0a1c2fb7740f7df7f7972dfaa14ef6f57cb6178dc63e5dca2f04" +checksum = "45bf463831f5131b7d3c756525b305d40f1185b688565648a92e1392ca35713d" dependencies = [ - "axum 0.7.9", - "axum-core 0.4.5", + "axum 0.8.3", + "axum-core 0.5.2", "bytes", - "fastrand", "futures-util", "headers", "http 1.3.1", "http-body 1.0.1", "http-body-util", "mime", - "multer", "pin-project-lite", + "rustversion", "serde", "tower 0.5.2", "tower-layer", @@ -1294,7 +1247,7 @@ checksum = "495c05f60d6df0093e8fb6e74aa5846a0ad06abaf96d76166283720bf740f8ab" dependencies = [ "arc-swap", "bytes", - "fs-err 3.1.0", + "fs-err", "http 1.3.1", "http-body 1.0.1", "hyper 1.6.0", @@ -1650,7 +1603,7 @@ dependencies = [ "futures-intrusive", "image", "parley", - "pollster 0.4.0", + "pollster", "raw-window-handle 0.6.2", "stylo", "taffy", @@ -1780,17 +1733,6 @@ dependencies = [ "syn 2.0.100", ] -[[package]] -name = "brotli" -version = "6.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74f7971dbd9326d58187408ab83117d8ac1bb9c17b085fdacd1cf2f598719b6b" -dependencies = [ - "alloc-no-stdlib", - "alloc-stdlib", - "brotli-decompressor", -] - [[package]] name = "brotli" version = "7.0.0" @@ -1869,9 +1811,9 @@ dependencies = [ [[package]] name = "built" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "236e6289eda5a812bc6b53c3b024039382a2895fbbeef2d748b2931546d392c4" +checksum = "c360505aed52b7ec96a3636c3f039d99103c37d1d9b4f7a8c743d3ea9ffcd03b" dependencies = [ "git2", ] @@ -2055,18 +1997,19 @@ dependencies = [ [[package]] name = "cargo-generate" -version = "0.21.3" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b611d852b731eaaf84d3dfed2cefc1468f772b403ae0499fd3436a6a2b42b273" +checksum = "fd20c031c5650a045e60c7bc274aa2a20d32fd604b9265e760562ceda4bdbf26" dependencies = [ "anstyle", "anyhow", "auth-git2", + "cargo-util-schemas", "clap", "console", "dialoguer", "env_logger 0.11.8", - "fs-err 2.11.0", + "fs-err", "git2", "gix-config", "heck 0.5.0", @@ -2089,7 +2032,7 @@ dependencies = [ "semver 1.0.26", "serde", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.12", "time", "toml", "walkdir", @@ -2105,24 +2048,40 @@ dependencies = [ ] [[package]] -name = "cargo_metadata" -version = "0.18.1" +name = "cargo-util-schemas" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d886547e41f740c616ae73108f6eb70afe6d940c7bc697cb30f13daec073037" +checksum = "9f905f68f8cb8a8182592d9858a5895360f0a5b08b6901fdb10498fb91829804" +dependencies = [ + "semver 1.0.26", + "serde", + "serde-untagged", + "serde-value", + "thiserror 1.0.69", + "toml", + "unicode-xid", + "url", +] + +[[package]] +name = "cargo_metadata" +version = "0.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" dependencies = [ "camino", "cargo-platform", "semver 1.0.26", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] name = "cargo_toml" -version = "0.20.5" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88da5a13c620b4ca0078845707ea9c3faf11edbc3ffd8497d11d686211cd1ac0" +checksum = "5fbd1fe9db3ebf71b89060adaf7b0504c2d6a425cf061313099547e382c2e472" dependencies = [ "serde", "toml", @@ -2558,9 +2517,9 @@ dependencies = [ [[package]] name = "console-api" -version = "0.7.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a257c22cd7e487dd4a13d413beabc512c5052f0bc048db0da6a84c3d8a6142fd" +checksum = "8030735ecb0d128428b64cd379809817e620a40e5001c54465b99ec5feec2857" dependencies = [ "futures-core", "prost", @@ -2571,9 +2530,9 @@ dependencies = [ [[package]] name = "console-subscriber" -version = "0.3.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c4cc54bae66f7d9188996404abdf7fdfa23034ef8e43478c8810828abad758" +checksum = "6539aa9c6a4cd31f4b1c040f860a1eac9aa80e7df6b05d506a6e7179936d6a01" dependencies = [ "console-api", "crossbeam-channel", @@ -2581,6 +2540,7 @@ dependencies = [ "futures-task", "hdrhistogram", "humantime", + "hyper-util", "prost", "prost-types", "serde", @@ -2716,6 +2676,15 @@ dependencies = [ "unicode-segmentation", ] +[[package]] +name = "convert_case" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baaaa0ecca5b51987b9423ccdc971514dd8b0bb7b4060b983d3664dad3f1f89f" +dependencies = [ + "unicode-segmentation", +] + [[package]] name = "cookie" version = "0.18.1" @@ -2998,7 +2967,7 @@ dependencies = [ "bitflags 2.9.0", "crossterm_winapi", "futures-core", - "mio 1.0.3", + "mio", "parking_lot", "rustix 0.38.44", "signal-hook", @@ -3537,12 +3506,12 @@ dependencies = [ "dioxus-signals", "dioxus-ssr", "dioxus-web", - "env_logger 0.10.2", + "env_logger 0.11.8", "futures-util", "manganis", "rand 0.8.5", "serde", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tracing", "warnings", @@ -3560,7 +3529,7 @@ dependencies = [ "ndk", "ndk-context", "ndk-sys 0.6.0+11769913", - "thiserror 1.0.69", + "thiserror 2.0.12", "urlencoding", ] @@ -3599,7 +3568,7 @@ dependencies = [ "axum 0.8.3", "axum-extra", "axum-server", - "brotli 6.0.0", + "brotli", "built", "cargo-config2", "cargo-generate", @@ -3610,7 +3579,7 @@ dependencies = [ "console", "console-subscriber", "const-serialize", - "convert_case 0.6.0", + "convert_case 0.8.0", "crossterm", "ctrlc", "dioxus-autofmt", @@ -3627,7 +3596,7 @@ dependencies = [ "dioxus-rsx-hotreload", "dioxus-rsx-rosetta", "dircpy", - "dirs 5.0.1", + "dirs 6.0.0", "dunce", "env_logger 0.11.8", "escargot", @@ -3642,7 +3611,7 @@ dependencies = [ "hyper-util", "ignore", "include_dir", - "itertools 0.13.0", + "itertools 0.14.0", "krates", "local-ip-address", "log", @@ -3664,20 +3633,20 @@ dependencies = [ "rustls 0.23.26", "serde", "serde_json", - "strum 0.26.3", + "strum 0.27.1", "syn 2.0.100", "tar", "tauri-bundler", "tauri-utils", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.12", "throbber-widgets-tui", "tokio", "tokio-stream", "tokio-util", "toml", "toml_edit 0.22.24", - "tower 0.4.13", + "tower 0.5.2", "tower-http", "tracing", "tracing-subscriber", @@ -3783,7 +3752,7 @@ dependencies = [ "pretty_assertions", "rand 0.8.5", "reqwest 0.12.15", - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", "rustversion", "serde", "slab", @@ -3801,7 +3770,7 @@ dependencies = [ name = "dioxus-core-macro" version = "0.6.3" dependencies = [ - "convert_case 0.6.0", + "convert_case 0.8.0", "dioxus", "dioxus-html", "dioxus-rsx", @@ -3826,8 +3795,8 @@ version = "0.6.3" dependencies = [ "async-trait", "base64 0.22.1", - "cocoa 0.25.0", - "core-foundation 0.9.4", + "cocoa 0.26.0", + "core-foundation 0.10.0", "dioxus", "dioxus-asset-resolver", "dioxus-cli-config", @@ -3850,7 +3819,7 @@ dependencies = [ "infer", "jni", "lazy-js-bundle", - "muda 0.15.3", + "muda 0.16.1", "ndk", "ndk-context", "ndk-sys 0.6.0+11769913", @@ -3860,16 +3829,16 @@ dependencies = [ "rand 0.8.5", "reqwest 0.12.15", "rfd", - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", "separator", "serde", "serde_json", "signal-hook", "slab", "tao", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", - "tokio-tungstenite 0.23.1", + "tokio-tungstenite", "tracing", "tray-icon", "urlencoding", @@ -3888,7 +3857,7 @@ dependencies = [ "serde_json", "tokio", "tracing", - "tungstenite 0.23.0", + "tungstenite 0.26.2", "warnings", ] @@ -3939,7 +3908,7 @@ dependencies = [ "dioxus-ssr", "form_urlencoded", "futures-util", - "getrandom 0.2.15", + "getrandom 0.3.2", "http-range", "openssl", "ouroboros", @@ -4002,11 +3971,11 @@ dependencies = [ "rustls 0.23.26", "serde", "server_fn", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tokio-stream", "tokio-util", - "tower 0.4.13", + "tower 0.5.2", "tower-http", "tower-layer", "tracing", @@ -4099,7 +4068,7 @@ dependencies = [ name = "dioxus-html-internal-macro" version = "0.6.3" dependencies = [ - "convert_case 0.6.0", + "convert_case 0.8.0", "proc-macro2", "quote", "syn 2.0.100", @@ -4115,7 +4084,7 @@ dependencies = [ "dioxus-html", "js-sys", "lazy-js-bundle", - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", "serde", "sledgehammer_bindgen", "sledgehammer_utils", @@ -4130,9 +4099,9 @@ version = "0.6.3" dependencies = [ "chrono", "http 1.3.1", - "lru 0.12.5", - "rustc-hash 1.1.0", - "thiserror 1.0.69", + "lru 0.13.0", + "rustc-hash 2.1.1", + "thiserror 2.0.12", "tracing", "walkdir", ] @@ -4170,15 +4139,15 @@ dependencies = [ "futures-channel", "futures-util", "generational-box", - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", "serde", "serde_json", "slab", - "thiserror 1.0.69", + "thiserror 2.0.12", "tokio", "tokio-stream", "tokio-util", - "tower 0.4.13", + "tower 0.5.2", "tracing", ] @@ -4187,6 +4156,7 @@ name = "dioxus-logger" version = "0.6.3" dependencies = [ "console_error_panic_hook", + "dioxus", "dioxus-cli-config", "tracing", "tracing-subscriber", @@ -4223,7 +4193,7 @@ dependencies = [ "dioxus-html", "futures-util", "keyboard-types", - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", "tokio", "tracing", "winit", @@ -4360,7 +4330,7 @@ dependencies = [ name = "dioxus-rsx-rosetta" version = "0.6.3" dependencies = [ - "convert_case 0.6.0", + "convert_case 0.8.0", "dioxus-autofmt", "dioxus-html", "dioxus-rsx", @@ -4385,7 +4355,7 @@ dependencies = [ "parking_lot", "rand 0.8.5", "reqwest 0.12.15", - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", "serde", "tokio", "tracing", @@ -4401,7 +4371,7 @@ dependencies = [ "dioxus", "dioxus-core", "dioxus-core-types", - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", ] [[package]] @@ -4417,6 +4387,7 @@ name = "dioxus-web" version = "0.6.3" dependencies = [ "async-trait", + "ciborium", "dioxus", "dioxus-cli-config", "dioxus-core", @@ -4434,10 +4405,10 @@ dependencies = [ "futures-util", "generational-box", "gloo-dialogs", - "gloo-timers 0.2.6", + "gloo-timers", "js-sys", "lazy-js-bundle", - "rustc-hash 1.1.0", + "rustc-hash 2.1.1", "serde", "serde-wasm-bindgen", "serde_json", @@ -4522,6 +4493,18 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" +[[package]] +name = "dispatch2" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a0d569e003ff27784e0e14e4a594048698e0c0f0b66cabcb51511be55a7caa0" +dependencies = [ + "bitflags 2.9.0", + "block2 0.6.0", + "libc", + "objc2 0.6.0", +] + [[package]] name = "displaydoc" version = "0.2.5" @@ -5290,18 +5273,9 @@ dependencies = [ [[package]] name = "fs-err" -version = "2.11.0" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" -dependencies = [ - "autocfg", -] - -[[package]] -name = "fs-err" -version = "3.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f89bda4c2a21204059a977ed3bfe746677dfd137b83c339e702b0ac91d482aa" +checksum = "8bb60e7409f34ef959985bc9d9c5ee8f5db24ee46ed9775850548021710f807f" dependencies = [ "autocfg", "tokio", @@ -5355,7 +5329,7 @@ dependencies = [ "serde", "sqlx", "tokio", - "tower 0.4.13", + "tower 0.5.2", "tower-http", ] @@ -5809,9 +5783,9 @@ dependencies = [ [[package]] name = "gix-actor" -version = "0.31.5" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0e454357e34b833cc3a00b6efbbd3dd4d18b24b9fb0c023876ec2645e8aa3f2" +checksum = "fc19e312cd45c4a66cd003f909163dc2f8e1623e30a0c0c6df3776e89b308665" dependencies = [ "bstr", "gix-date", @@ -5823,9 +5797,9 @@ dependencies = [ [[package]] name = "gix-config" -version = "0.37.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53fafe42957e11d98e354a66b6bd70aeea00faf2f62dd11164188224a507c840" +checksum = "78e797487e6ca3552491de1131b4f72202f282fb33f198b1c34406d765b42bb0" dependencies = [ "bstr", "gix-config-value", @@ -5857,14 +5831,14 @@ dependencies = [ [[package]] name = "gix-date" -version = "0.8.7" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9eed6931f21491ee0aeb922751bd7ec97b4b2fe8fbfedcb678e2a2dce5f3b8c0" +checksum = "daa30058ec7d3511fbc229e4f9e696a35abd07ec5b82e635eff864a2726217e4" dependencies = [ "bstr", "itoa 1.0.15", - "thiserror 1.0.69", - "time", + "jiff", + "thiserror 2.0.12", ] [[package]] @@ -5928,9 +5902,9 @@ dependencies = [ [[package]] name = "gix-object" -version = "0.42.3" +version = "0.44.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25da2f46b4e7c2fa7b413ce4dffb87f69eaf89c2057e386491f4c55cadbfe386" +checksum = "2f5b801834f1de7640731820c2df6ba88d95480dc4ab166a5882f8ff12b88efa" dependencies = [ "bstr", "gix-actor", @@ -5960,12 +5934,11 @@ dependencies = [ [[package]] name = "gix-ref" -version = "0.44.1" +version = "0.47.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3394a2997e5bc6b22ebc1e1a87b41eeefbcfcff3dbfa7c4bd73cb0ac8f1f3e2e" +checksum = "ae0d8406ebf9aaa91f55a57f053c5a1ad1a39f60fdf0303142b7be7ea44311e5" dependencies = [ "gix-actor", - "gix-date", "gix-features", "gix-fs", "gix-hash", @@ -6023,12 +5996,12 @@ dependencies = [ [[package]] name = "gix-validate" -version = "0.8.5" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82c27dd34a49b1addf193c92070bcbf3beaf6e10f16a78544de6372e146a0acf" +checksum = "34b5f1253109da6c79ed7cf6e1e38437080bb6d704c76af14c93e2f255234084" dependencies = [ "bstr", - "thiserror 1.0.69", + "thiserror 2.0.12", ] [[package]] @@ -6097,18 +6070,17 @@ checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" [[package]] name = "global-hotkey" -version = "0.5.5" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b436093d1598b05e3b7fddc097b2bad32763f53a1beb25ab6f9718c6a60acd09" +checksum = "41fbb3a4e56c901ee66c190fdb3fa08344e6d09593cc6c61f8eb9add7144b271" dependencies = [ - "bitflags 2.9.0", - "cocoa 0.25.0", "crossbeam-channel", "keyboard-types", - "objc", + "objc2 0.6.0", + "objc2-app-kit 0.3.0", "once_cell", - "thiserror 1.0.69", - "windows-sys 0.52.0", + "thiserror 2.0.12", + "windows-sys 0.59.0", "x11-dl", ] @@ -6127,9 +6099,9 @@ dependencies = [ [[package]] name = "gloo-dialogs" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67062364ac72d27f08445a46cab428188e2e224ec9e37efdba48ae8c289002e6" +checksum = "bf4748e10122b01435750ff530095b1217cf6546173459448b83913ebe7815df" dependencies = [ "wasm-bindgen", "web-sys", @@ -6156,16 +6128,6 @@ dependencies = [ "web-sys", ] -[[package]] -name = "gloo-timers" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b995a66bb87bebce9a0f4a95aed01daca4872c050bfcb21653361c03bc35e5c" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - [[package]] name = "gloo-timers" version = "0.3.0" @@ -6908,14 +6870,15 @@ dependencies = [ [[package]] name = "hyper-timeout" -version = "0.4.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" +checksum = "2b90d566bffbce6a75bd8b09a05aa8c2cb1fabb6cb348f8840c9e4c90a0d83b0" dependencies = [ - "hyper 0.14.32", + "hyper 1.6.0", + "hyper-util", "pin-project-lite", "tokio", - "tokio-io-timeout", + "tower-service", ] [[package]] @@ -7314,9 +7277,9 @@ checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd" [[package]] name = "infer" -version = "0.16.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc150e5ce2330295b8616ce0e3f53250e53af31759a9dbedad1621ba29151847" +checksum = "a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7" dependencies = [ "cfb", ] @@ -7329,11 +7292,11 @@ checksum = "c8fae54786f62fb2918dcfae3d568594e50eb9b5c25bf04371af6fe7516452fb" [[package]] name = "inotify" -version = "0.9.6" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff" +checksum = "f37dccff2791ab604f9babef0ba14fbe0be30bd368dc541e2b08d07c8aa908f3" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.9.0", "inotify-sys", "libc", ] @@ -7381,12 +7344,11 @@ dependencies = [ [[package]] name = "internment" -version = "0.7.5" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04e8e537b529b8674e97e9fb82c10ff168a290ac3867a0295f112061ffbca1ef" +checksum = "636d4b0f6a39fd684effe2a73f5310df16a3fa7954c26d36833e98f44d1977a2" dependencies = [ - "hashbrown 0.14.5", - "parking_lot", + "hashbrown 0.15.2", ] [[package]] @@ -7590,10 +7552,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e5ad87c89110f55e4cd4dc2893a9790820206729eaf221555f742d540b0724a0" dependencies = [ "jiff-static", + "jiff-tzdb-platform", "log", "portable-atomic", "portable-atomic-util", "serde", + "windows-sys 0.59.0", ] [[package]] @@ -7607,6 +7571,21 @@ dependencies = [ "syn 2.0.100", ] +[[package]] +name = "jiff-tzdb" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c1283705eb0a21404d2bfd6eef2a7593d240bc42a0bdb39db0ad6fa2ec026524" + +[[package]] +name = "jiff-tzdb-platform" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8" +dependencies = [ + "jiff-tzdb", +] + [[package]] name = "jni" version = "0.21.1" @@ -8234,6 +8213,15 @@ dependencies = [ "hashbrown 0.15.2", ] +[[package]] +name = "lru" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "227748d55f2f0ab4735d87fd623798cb6b664512fe979705f829c9f81c934465" +dependencies = [ + "hashbrown 0.15.2", +] + [[package]] name = "lzma-sys" version = "0.1.20" @@ -8546,18 +8534,6 @@ dependencies = [ "simd-adler32", ] -[[package]] -name = "mio" -version = "0.8.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" -dependencies = [ - "libc", - "log", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", -] - [[package]] name = "mio" version = "1.0.3" @@ -8615,21 +8591,22 @@ dependencies = [ [[package]] name = "muda" -version = "0.15.3" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdae9c00e61cc0579bcac625e8ad22104c60548a025bfc972dc83868a28e1484" +checksum = "4de14a9b5d569ca68d7c891d613b390cf5ab4f851c77aaa2f9e435555d3d9492" dependencies = [ "crossbeam-channel", "dpi", "gtk", "keyboard-types", "libxdo", - "objc2 0.5.2", - "objc2-app-kit 0.2.2", - "objc2-foundation 0.2.2", + "objc2 0.6.0", + "objc2-app-kit 0.3.0", + "objc2-core-foundation", + "objc2-foundation 0.3.0", "once_cell", "png", - "thiserror 1.0.69", + "thiserror 2.0.12", "windows-sys 0.59.0", ] @@ -8866,22 +8843,30 @@ dependencies = [ [[package]] name = "notify" -version = "6.1.1" +version = "8.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6205bd8bb1e454ad2e27422015fb5e4f2bcc7e08fa8f27058670d208324a4d2d" +checksum = "2fee8403b3d66ac7b26aee6e40a897d85dc5ce26f44da36b8b73e987cc52e943" dependencies = [ "bitflags 2.9.0", - "crossbeam-channel", "filetime", "fsevent-sys", "inotify", "kqueue", "libc", "log", - "mio 0.8.11", - "serde", + "mio", + "notify-types", "walkdir", - "windows-sys 0.48.0", + "windows-sys 0.59.0", +] + +[[package]] +name = "notify-types" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e0826a989adedc2a244799e823aece04662b66609d96af8dff7ac6df9a8925d" +dependencies = [ + "serde", ] [[package]] @@ -9059,15 +9044,6 @@ dependencies = [ "syn 2.0.100", ] -[[package]] -name = "num_threads" -version = "0.1.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" -dependencies = [ - "libc", -] - [[package]] name = "number_prefix" version = "0.4.0" @@ -9084,17 +9060,6 @@ dependencies = [ "objc_exception", ] -[[package]] -name = "objc-foundation" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9" -dependencies = [ - "block", - "objc", - "objc_id", -] - [[package]] name = "objc-sys" version = "0.3.5" @@ -9144,6 +9109,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5906f93257178e2f7ae069efb89fbd6ee94f0592740b5f8a1512ca498814d0fb" dependencies = [ "bitflags 2.9.0", + "block2 0.6.0", "objc2 0.6.0", "objc2-core-foundation", "objc2-foundation 0.3.0", @@ -9477,6 +9443,9 @@ name = "once_cell" version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" +dependencies = [ + "portable-atomic", +] [[package]] name = "oorandom" @@ -9570,6 +9539,15 @@ dependencies = [ "libredox", ] +[[package]] +name = "ordered-float" +version = "2.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c" +dependencies = [ + "num-traits", +] + [[package]] name = "ordered-stream" version = "0.2.0" @@ -10321,12 +10299,6 @@ dependencies = [ "windows-sys 0.59.0", ] -[[package]] -name = "pollster" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22686f4785f02a4fcc856d3b3bb19bf6c8160d103f7a99cc258bddd0251dc7f2" - [[package]] name = "pollster" version = "0.4.0" @@ -10533,9 +10505,9 @@ dependencies = [ [[package]] name = "prost" -version = "0.12.6" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "deb1435c188b76130da55f17a466d252ff7b1418b2ad3e037d127b94e3411f29" +checksum = "2796faa41db3ec313a31f7624d9286acf277b52de526150b7e69f3debf891ee5" dependencies = [ "bytes", "prost-derive", @@ -10543,12 +10515,12 @@ dependencies = [ [[package]] name = "prost-derive" -version = "0.12.6" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81bddcdb20abf9501610992b6759a4c888aef7d1a7247ef75e2404275ac24af1" +checksum = "8a56d757972c98b346a9b766e3f02746cde6dd1cd1d1d563472929fdd74bec4d" dependencies = [ "anyhow", - "itertools 0.12.1", + "itertools 0.14.0", "proc-macro2", "quote", "syn 2.0.100", @@ -10556,9 +10528,9 @@ dependencies = [ [[package]] name = "prost-types" -version = "0.12.6" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9091c90b0a32608e984ff2fa4091273cbdd755d54935c51d520887f4a1dbd5b0" +checksum = "52c2c1bf36ddb1a1c396b3601a3cec27c2462e45f07c386894ec3ccf5332bd16" dependencies = [ "prost", ] @@ -10893,23 +10865,23 @@ dependencies = [ [[package]] name = "ratatui" -version = "0.28.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdef7f9be5c0122f890d58bdf4d964349ba6a6161f705907526d891efabba57d" +checksum = "eabd94c2f37801c20583fc49dd5cd6b0ba68c716787c2dd6ed18571e1e63117b" dependencies = [ "bitflags 2.9.0", "cassowary", "compact_str", "crossterm", + "indoc", "instability", "itertools 0.13.0", "lru 0.12.5", "paste", "strum 0.26.3", - "strum_macros 0.26.4", "unicode-segmentation", "unicode-truncate", - "unicode-width 0.1.14", + "unicode-width 0.2.0", ] [[package]] @@ -11055,9 +11027,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.6" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" +checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" dependencies = [ "aho-corasick", "memchr", @@ -11224,7 +11196,7 @@ dependencies = [ "wasm-streams", "web-sys", "webpki-roots 0.26.8", - "windows-registry", + "windows-registry 0.4.0", ] [[package]] @@ -11239,25 +11211,26 @@ dependencies = [ [[package]] name = "rfd" -version = "0.14.1" +version = "0.15.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25a73a7337fc24366edfca76ec521f51877b114e42dab584008209cca6719251" +checksum = "80c844748fdc82aae252ee4594a89b6e7ebef1063de7951545564cbc4e57075d" dependencies = [ "ashpd", - "block", - "dispatch", + "block2 0.6.0", + "dispatch2", "js-sys", "log", - "objc", - "objc-foundation", - "objc_id", - "pollster 0.3.0", + "objc2 0.6.0", + "objc2-app-kit 0.3.0", + "objc2-core-foundation", + "objc2-foundation 0.3.0", + "pollster", "raw-window-handle 0.6.2", "urlencoding", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] @@ -11271,9 +11244,9 @@ dependencies = [ [[package]] name = "rhai" -version = "1.19.0" +version = "1.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61797318be89b1a268a018a92a7657096d83f3ecb31418b9e9c16dcbb043b702" +checksum = "d0277a46f29fe3b3eb10821ca2c65a4751b686b6c84422aae31695ba167b0fbc" dependencies = [ "ahash 0.8.11", "bitflags 2.9.0", @@ -11933,10 +11906,20 @@ dependencies = [ ] [[package]] -name = "serde-wasm-bindgen" -version = "0.5.0" +name = "serde-value" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3b143e2833c57ab9ad3ea280d21fd34e285a42837aeb0ee301f4f41890fa00e" +checksum = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" +dependencies = [ + "ordered-float", + "serde", +] + +[[package]] +name = "serde-wasm-bindgen" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8302e169f0eddcc139c70f139d19d6467353af16f9fce27e8c30158036a1e16b" dependencies = [ "js-sys", "serde", @@ -12105,7 +12088,7 @@ dependencies = [ "thiserror 2.0.12", "throw_error", "tokio", - "tokio-tungstenite 0.26.2", + "tokio-tungstenite", "tower 0.5.2", "tower-layer", "url", @@ -12248,7 +12231,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd" dependencies = [ "libc", - "mio 1.0.3", + "mio", "signal-hook", ] @@ -12920,6 +12903,15 @@ dependencies = [ "strum_macros 0.26.4", ] +[[package]] +name = "strum" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f64def088c51c9510a8579e3c5d67c65349dcf755e5479ad3d010aa6454e2c32" +dependencies = [ + "strum_macros 0.27.1", +] + [[package]] name = "strum_macros" version = "0.24.3" @@ -12946,6 +12938,19 @@ dependencies = [ "syn 2.0.100", ] +[[package]] +name = "strum_macros" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c77a8c5abcaf0f9ce05d62342b7d298c346515365c36b673df4ebe3ced01fde8" +dependencies = [ + "heck 0.5.0", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.100", +] + [[package]] name = "stylo" version = "0.2.1" @@ -13757,12 +13762,11 @@ dependencies = [ [[package]] name = "tao" -version = "0.30.8" +version = "0.32.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6682a07cf5bab0b8a2bd20d0a542917ab928b5edb75ebd4eda6b05cbaab872da" +checksum = "63c8b1020610b9138dd7b1e06cf259ae91aa05c30f3bd0d6b42a03997b92dec1" dependencies = [ "bitflags 2.9.0", - "cocoa 0.26.0", "core-foundation 0.10.0", "core-graphics 0.24.0", "crossbeam-channel", @@ -13772,7 +13776,6 @@ dependencies = [ "gdkwayland-sys", "gdkx11-sys", "gtk", - "instant", "jni", "lazy_static", "libc", @@ -13780,7 +13783,9 @@ dependencies = [ "ndk", "ndk-context", "ndk-sys 0.6.0+11769913", - "objc", + "objc2 0.6.0", + "objc2-app-kit 0.3.0", + "objc2-foundation 0.3.0", "once_cell", "parking_lot", "raw-window-handle 0.5.2", @@ -13789,8 +13794,8 @@ dependencies = [ "tao-macros", "unicode-segmentation", "url", - "windows 0.58.0", - "windows-core 0.58.0", + "windows 0.60.0", + "windows-core 0.60.1", "windows-version", "x11-dl", ] @@ -13837,9 +13842,9 @@ checksum = "1ac9aa371f599d22256307c24a9d748c041e548cbf599f35d890f9d365361790" [[package]] name = "tauri-bundler" -version = "2.2.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3df23018d477754434b1d528ce244affe386feb99dfeabbf29177b22b803bd0a" +checksum = "688db3d6e5e7039c445964c65940ed37d1da85089797c05297c3b2e26d3c1eaa" dependencies = [ "anyhow", "ar", @@ -13875,7 +13880,8 @@ dependencies = [ "url", "uuid", "walkdir", - "windows-registry", + "which 7.0.3", + "windows-registry 0.5.1", "windows-sys 0.59.0", "zip 2.6.1", ] @@ -13914,10 +13920,11 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.1.1" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96fb10e7cc97456b2d5b9c03e335b5de5da982039a303a20d10006885e4523a0" +checksum = "b2900399c239a471bcff7f15c4399eb1a8c4fe511ba2853e07c996d771a5e0a4" dependencies = [ + "anyhow", "ctor", "dunce", "glob", @@ -13945,14 +13952,15 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.10.1" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" +checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b" dependencies = [ "cfg-if", "fastrand", + "once_cell", "rustix 0.38.44", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -14059,9 +14067,9 @@ dependencies = [ [[package]] name = "throbber-widgets-tui" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fad9e055cadd9da8b4a67662b962e3e67e96af491ae9cec7e88aaff92e7c3666" +checksum = "1d36b5738d666a2b4c91b7c24998a8588db724b3107258343ebf8824bf55b06d" dependencies = [ "rand 0.8.5", "ratatui", @@ -14095,9 +14103,7 @@ checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" dependencies = [ "deranged", "itoa 1.0.15", - "libc", "num-conv", - "num_threads", "powerfmt", "serde", "time-core", @@ -14225,7 +14231,7 @@ dependencies = [ "backtrace", "bytes", "libc", - "mio 1.0.3", + "mio", "parking_lot", "pin-project-lite", "signal-hook-registry", @@ -14235,16 +14241,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "tokio-io-timeout" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf" -dependencies = [ - "pin-project-lite", - "tokio", -] - [[package]] name = "tokio-macros" version = "2.5.0" @@ -14300,9 +14296,9 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.23.1" +version = "0.26.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6989540ced10490aaf14e6bad2e3d33728a2813310a0c71d1574304c49631cd" +checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" dependencies = [ "futures-util", "log", @@ -14310,19 +14306,6 @@ dependencies = [ "rustls 0.23.26", "tokio", "tokio-native-tls", - "tungstenite 0.23.0", -] - -[[package]] -name = "tokio-tungstenite" -version = "0.26.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a9daff607c6d2bf6c16fd681ccb7eecc83e4e2cdc1ca067ffaadfca5de7f084" -dependencies = [ - "futures-util", - "log", - "rustls 0.23.26", - "tokio", "tungstenite 0.26.2", ] @@ -14402,23 +14385,26 @@ dependencies = [ [[package]] name = "tonic" -version = "0.11.0" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76c4eb7a4e9ef9d4763600161f12f5070b92a578e1b634db88a6887844c91a13" +checksum = "877c5b330756d856ffcc4553ab34a5684481ade925ecc54bcd1bf02b1d0d4d52" dependencies = [ "async-stream", "async-trait", - "axum 0.6.20", - "base64 0.21.7", + "axum 0.7.9", + "base64 0.22.1", "bytes", - "h2 0.3.26", - "http 0.2.12", - "http-body 0.4.6", - "hyper 0.14.32", + "h2 0.4.9", + "http 1.3.1", + "http-body 1.0.1", + "http-body-util", + "hyper 1.6.0", "hyper-timeout", + "hyper-util", "percent-encoding", "pin-project", "prost", + "socket2", "tokio", "tokio-stream", "tower 0.4.13", @@ -14465,12 +14451,12 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.5.2" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" +checksum = "403fa3b783d4b626a8ad51d766ab03cb6d2dbfc46b1c5d4448395e6628dc9697" dependencies = [ "async-compression", - "base64 0.21.7", + "base64 0.22.1", "bitflags 2.9.0", "bytes", "futures-core", @@ -14487,7 +14473,7 @@ dependencies = [ "pin-project-lite", "tokio", "tokio-util", - "tower 0.4.13", + "tower 0.5.2", "tower-layer", "tower-service", "tracing", @@ -14615,14 +14601,14 @@ dependencies = [ [[package]] name = "tray-icon" -version = "0.19.3" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eadd75f5002e2513eaa19b2365f533090cc3e93abd38788452d9ea85cff7b48a" +checksum = "d433764348e7084bad2c5ea22c96c71b61b17afe3a11645710f533bd72b6a2b5" dependencies = [ "crossbeam-channel", "dirs 6.0.0", "libappindicator", - "muda 0.15.3", + "muda 0.16.1", "objc2 0.6.0", "objc2-app-kit 0.3.0", "objc2-core-foundation", @@ -14703,25 +14689,6 @@ dependencies = [ "utf-8", ] -[[package]] -name = "tungstenite" -version = "0.23.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e2e2ce1e47ed2994fd43b04c8f618008d4cabdd5ee34027cf14f9d918edd9c8" -dependencies = [ - "byteorder", - "bytes", - "data-encoding", - "http 1.3.1", - "httparse", - "log", - "native-tls", - "rand 0.8.5", - "sha1", - "thiserror 1.0.69", - "utf-8", -] - [[package]] name = "tungstenite" version = "0.26.2" @@ -14733,6 +14700,7 @@ dependencies = [ "http 1.3.1", "httparse", "log", + "native-tls", "rand 0.9.0", "sha1", "thiserror 2.0.12", @@ -15016,20 +14984,34 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "ureq" -version = "2.12.1" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d" +checksum = "b7a3e9af6113ecd57b8c63d3cd76a385b2e3881365f1f489e54f49801d0c83ea" dependencies = [ "base64 0.22.1", "log", - "once_cell", + "percent-encoding", "rustls 0.23.26", + "rustls-pemfile 2.2.0", "rustls-pki-types", "socks", - "url", + "ureq-proto", + "utf-8", "webpki-roots 0.26.8", ] +[[package]] +name = "ureq-proto" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fadf18427d33828c311234884b7ba2afb57143e6e7e69fda7ee883b624661e36" +dependencies = [ + "base64 0.22.1", + "http 1.3.1", + "httparse", + "log", +] + [[package]] name = "url" version = "2.5.4" @@ -15499,7 +15481,7 @@ dependencies = [ "tracing-subscriber", "walrus", "wasm-used", - "wasmparser 0.225.0", + "wasmparser 0.226.0", ] [[package]] @@ -15511,7 +15493,7 @@ dependencies = [ "dioxus", "dioxus-router", "futures", - "getrandom 0.2.15", + "getrandom 0.3.2", "js-sys", "once_cell", "reqwest 0.12.15", @@ -15579,9 +15561,9 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.225.0" +version = "0.226.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36e5456165f81e64cb9908a0fe9b9d852c2c74582aa3fe2be3c2da57f937d3ae" +checksum = "bc28600dcb2ba68d7e5f1c3ba4195c2bddc918c0243fd702d0b6dbd05689b681" dependencies = [ "bitflags 2.9.0", "hashbrown 0.15.2", @@ -15721,17 +15703,17 @@ dependencies = [ [[package]] name = "webbrowser" -version = "0.8.15" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db67ae75a9405634f5882791678772c94ff5f16a66535aae186e26aa0841fc8b" +checksum = "d5df295f8451142f1856b1bd86a606dfe9587d439bc036e319c827700dbd555e" dependencies = [ - "core-foundation 0.9.4", + "core-foundation 0.10.0", "home", "jni", "log", "ndk-context", - "objc", - "raw-window-handle 0.5.2", + "objc2 0.6.0", + "objc2-foundation 0.3.0", "url", "web-sys", ] @@ -16094,7 +16076,6 @@ checksum = "dd7cf3379ca1aac9eea11fba24fd7e315d621f8dfe35c8d7d2be8b793726e07d" name = "wifi-scanner" version = "0.1.1" dependencies = [ - "anyhow", "dioxus", "futures", "futures-channel", @@ -16369,6 +16350,17 @@ dependencies = [ "windows-targets 0.53.0", ] +[[package]] +name = "windows-registry" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad1da3e436dc7653dfdf3da67332e22bff09bb0e28b0239e1624499c7830842e" +dependencies = [ + "windows-link", + "windows-result 0.3.2", + "windows-strings 0.4.0", +] + [[package]] name = "windows-result" version = "0.1.2" @@ -17117,14 +17109,43 @@ dependencies = [ "serde_repr", "sha1", "static_assertions", - "tokio", "tracing", "uds_windows", "windows-sys 0.52.0", "xdg-home", - "zbus_macros", - "zbus_names", - "zvariant", + "zbus_macros 4.4.0", + "zbus_names 3.0.0", + "zvariant 4.2.0", +] + +[[package]] +name = "zbus" +version = "5.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59c333f648ea1b647bc95dc1d34807c8e25ed7a6feff3394034dc4776054b236" +dependencies = [ + "async-broadcast", + "async-recursion", + "async-trait", + "enumflags2", + "event-listener 5.4.0", + "futures-core", + "futures-lite", + "hex", + "nix", + "ordered-stream", + "serde", + "serde_repr", + "static_assertions", + "tokio", + "tracing", + "uds_windows", + "windows-sys 0.59.0", + "winnow 0.7.6", + "xdg-home", + "zbus_macros 5.5.0", + "zbus_names 4.2.0", + "zvariant 5.4.0", ] [[package]] @@ -17134,7 +17155,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ca2c5dceb099bddaade154055c926bb8ae507a18756ba1d8963fd7b51d8ed1d" dependencies = [ "zbus_xml", - "zvariant", + "zvariant 4.2.0", ] [[package]] @@ -17148,7 +17169,7 @@ dependencies = [ "syn 2.0.100", "zbus-lockstep", "zbus_xml", - "zvariant", + "zvariant 4.2.0", ] [[package]] @@ -17161,7 +17182,22 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.100", - "zvariant_utils", + "zvariant_utils 2.1.0", +] + +[[package]] +name = "zbus_macros" +version = "5.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f325ad10eb0d0a3eb060203494c3b7ec3162a01a59db75d2deee100339709fc0" +dependencies = [ + "proc-macro-crate 3.3.0", + "proc-macro2", + "quote", + "syn 2.0.100", + "zbus_names 4.2.0", + "zvariant 5.4.0", + "zvariant_utils 3.2.0", ] [[package]] @@ -17172,7 +17208,19 @@ checksum = "4b9b1fef7d021261cc16cba64c351d291b715febe0fa10dc3a443ac5a5022e6c" dependencies = [ "serde", "static_assertions", - "zvariant", + "zvariant 4.2.0", +] + +[[package]] +name = "zbus_names" +version = "4.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7be68e64bf6ce8db94f63e72f0c7eb9a60d733f7e0499e628dfab0f84d6bcb97" +dependencies = [ + "serde", + "static_assertions", + "winnow 0.7.6", + "zvariant 5.4.0", ] [[package]] @@ -17184,8 +17232,8 @@ dependencies = [ "quick-xml 0.30.0", "serde", "static_assertions", - "zbus_names", - "zvariant", + "zbus_names 3.0.0", + "zvariant 4.2.0", ] [[package]] @@ -17406,13 +17454,28 @@ name = "zvariant" version = "4.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2084290ab9a1c471c38fc524945837734fbf124487e105daec2bb57fd48c81fe" +dependencies = [ + "endi", + "enumflags2", + "serde", + "static_assertions", + "zvariant_derive 4.2.0", +] + +[[package]] +name = "zvariant" +version = "5.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2df9ee044893fcffbdc25de30546edef3e32341466811ca18421e3cd6c5a3ac" dependencies = [ "endi", "enumflags2", "serde", "static_assertions", "url", - "zvariant_derive", + "winnow 0.7.6", + "zvariant_derive 5.4.0", + "zvariant_utils 3.2.0", ] [[package]] @@ -17425,7 +17488,20 @@ dependencies = [ "proc-macro2", "quote", "syn 2.0.100", - "zvariant_utils", + "zvariant_utils 2.1.0", +] + +[[package]] +name = "zvariant_derive" +version = "5.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74170caa85b8b84cc4935f2d56a57c7a15ea6185ccdd7eadb57e6edd90f94b2f" +dependencies = [ + "proc-macro-crate 3.3.0", + "proc-macro2", + "quote", + "syn 2.0.100", + "zvariant_utils 3.2.0", ] [[package]] @@ -17438,3 +17514,17 @@ dependencies = [ "quote", "syn 2.0.100", ] + +[[package]] +name = "zvariant_utils" +version = "3.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e16edfee43e5d7b553b77872d99bc36afdda75c223ca7ad5e3fbecd82ca5fc34" +dependencies = [ + "proc-macro2", + "quote", + "serde", + "static_assertions", + "syn 2.0.100", + "winnow 0.7.6", +] diff --git a/Cargo.toml b/Cargo.toml index 35d067953..60a92d156 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -114,7 +114,6 @@ members = [ "packages/playwright-tests/nested-suspense", "packages/playwright-tests/cli-optimization", "packages/playwright-tests/wasm-split-harness", - "packages/playwright-tests/wasm-split-harness", "packages/playwright-tests/default-features-disabled" ] @@ -180,112 +179,130 @@ wasm-split-harness = { path = "packages/playwright-tests/wasm-split-harness", ve warnings = { version = "0.2.1" } # a fork of pretty please for tests - let's get off of this if we can! -prettier-please = { version = "0.3.0", features = ["verbatim"]} -anyhow = "1.0.95" -clap = { version = "4.5.7" } +prettier-please = { version = "0.3.0", features = ["verbatim"] } +anyhow = "1.0.97" +clap = { version = "4.5.31" } askama_escape = "0.10.3" -tracing = "0.1.37" +tracing = "0.1.41" tracing-futures = "0.2.5" -tracing-subscriber = { version = "0.3.18", default-features = false } +tracing-subscriber = { version = "0.3.19", default-features = false } toml = "0.8" -tokio = "1.40" -slab = "0.4.2" +tokio = "1.43" +tokio-util = { version = "0.7.13" } +tokio-stream = { version = "0.1.17" } +slab = "0.4.9" slotmap = { version = "1.0.7", features = ["serde"] } futures = "0.3.31" futures-channel = "0.3.31" futures-util = { version = "0.3", default-features = false } -rustc-hash = "1.1.0" -wasm-bindgen = "0.2.99" -wasm-bindgen-futures = "0.4.42" -js-sys = "0.3.76" -web-sys = { version = "0.3.76", default-features = false } +rustc-hash = "2.1.1" +wasm-bindgen = "0.2.100" +wasm-bindgen-futures = "0.4.50" +js-sys = "0.3.77" +web-sys = { version = "0.3.77", default-features = false } html_parser = "0.7.0" -thiserror = "1.0.40" -prettyplease = { version = "0.2.20", features = ["verbatim"] } -const_format = "0.2.32" -cargo_toml = { version = "0.20.3" } -tauri-utils = { version = "=2.1.1" } -tauri-bundler = { version = "=2.2.3" } -lru = "0.12.2" -async-trait = "0.1.77" +thiserror = "2.0.12" +prettyplease = { version = "0.2.30", features = ["verbatim"] } +const_format = "0.2.34" +cargo_toml = { version = "0.21.0" } +tauri-utils = { version = "2.2.0" } +tauri-bundler = { version = "2.2.4" } +lru = "0.13.0" +async-trait = "0.1.87" axum = "0.8.1" axum-server = { version = "0.7.1", default-features = false } -tower = "0.4.13" -http = "1.0.0" -notify = { version = "6.1.1" } -tower-http = "0.5.2" -hyper = "1.0.0" -hyper-rustls = { version= "0.27.2", default-features = false , features=["native-tokio","http1","http2","tls12","logging","ring"]} -rustls = { version="0.23.12", default-features=false, features =["logging","std","tls12","ring"] } -serde_json = "1.0.61" -serde = "1.0.61" +tower = "0.5.2" +http = "1.2.0" +notify = { version = "8.0.0" } +tower-http = "0.6.2" +hyper = "1.6.0" +hyper-rustls = { version = "0.27.5", default-features = false, features = [ + "native-tokio", + "http1", + "http2", + "tls12", + "logging", + "ring", +] } +rustls = { version = "0.23.23", default-features = false, features = ["logging", "std", "tls12", "ring"] } +serde_json = "1.0.140" +serde = "1.0.218" syn = "2.0" quote = "1.0" proc-macro2 = "1.0" axum_session = "0.16.0" axum_session_auth = "0.16.0" axum_session_sqlx = "0.5.0" -axum-extra = "0.9.2" -reqwest = "0.12.5" -owo-colors = "4.0.0" -ciborium = "0.2.1" +axum-extra = "0.10.0" +reqwest = "0.12.12" +owo-colors = "4.2.0" +ciborium = "0.2.2" base64 = "0.22.1" -once_cell = "1.17.1" -uuid = "1.9.1" -convert_case = "0.6.0" -tokio-tungstenite = { version = "0.23.1" } +once_cell = "1.20.3" +uuid = "1.15.1" +convert_case = "0.8.0" +tungstenite = { version = "0.26.2" } +tokio-tungstenite = { version = "0.26.2" } gloo-timers = "0.3.0" -fluent-uri = { version = "0.2.0", features = ["serde"] } -internment = { version = "0.7.0" } +fluent-uri = { version = "0.3.2", features = ["serde"] } +internment = { version = "0.8.6" } proc-macro2-diagnostics = { version = "0.10", default-features = false } -env_logger = "0.11.0" -chrono = { version = "0.4.34" } -gloo = { version = "0.8.0" } -gloo-utils = { version = "0.1.6" } -rustversion = "1.0.17" -rand = "0.8.5" +env_logger = "0.11.6" +chrono = { version = "0.4.40" } +gloo = { version = "0.11.0" } +gloo-utils = { version = "0.2.0" } +rustversion = "1.0.20" +rand = "0.8" longest-increasing-subsequence = "0.1.0" trybuild = "1.0" -dirs = "5.0.1" -cargo-config2 = "0.1.26" +dirs = "6.0.0" +cargo-config2 = "0.1.32" criterion = { version = "0.5" } -cargo_metadata = "0.18.1" -parking_lot = "0.12.1" +cargo_metadata = "0.19.2" +parking_lot = "0.12.3" tracing-wasm = "0.2.1" console_error_panic_hook = "0.1.7" base16 = "0.2.1" digest = "0.10.7" sha2 = "0.10.8" -walrus = { version = "0.23.2", features = ["parallel"] } +walrus = { version = "0.23.3", features = ["parallel"] } id-arena = "2.2.1" -async-compression = { version = "0.4.8", features = ["futures-io", "gzip", "brotli"] } -getrandom = { version = "0.2" } -async-once-cell = { version = "0.5.3" } -rayon = "1.2.0" -wasmparser = "0.225.0" +async-compression = { version = "0.4.20", features = ["futures-io", "gzip", "brotli"] } +getrandom = { version = "0.3.1" } +async-once-cell = { version = "0.5.4" } +rayon = "1.10.0" +wasmparser = "0.226.0" itertools = "0.14.0" -macro-string = "0.1.3" +macro-string = "0.1.4" walkdir = "2.5.0" url = "2.3.1" +separator = "0.4.1" +pretty_assertions = "1.4.0" +serde_repr = "0.1" +hyper-util = "0.1.10" # desktop -wry = { version = "0.50.1", default-features = false } -tao = { version = "0.30.8", features = ["rwh_05"] } -webbrowser = "1.0.1" -infer = "0.16.0" +wry = { version = "0.50.3", default-features = false } +tao = { version = "0.32.6", features = ["rwh_05"] } +webbrowser = "1.0.3" +infer = "0.19.0" dunce = "1.0.5" -urlencoding = "2.1.2" -global-hotkey = "0.6.0" -rfd = { version = "0.14", default-features = false } -muda = "0.15.3" +urlencoding = "2.1.3" +global-hotkey = "0.6.4" +rfd = { version = "0.15.2", default-features = false } +muda = "0.16.1" cocoa = "0.26" core-foundation = "0.10.0" objc = { version = "0.2.7", features = ["exception"] } objc_id = "0.1.1" -tray-icon = "0.19" +tray-icon = "0.20.0" +open = "5.1.2" + +# web +gloo-dialogs = "0.2.0" # native -keyboard-types = "0.7" +keyboard-types = { version = "0.7", default-features = false } winit = { version = "0.30.2", features = ["rwh_06"] } # disable debug symbols in dev builds - shouldn't matter for downstream crates but makes our binaries (examples, cli, etc) build faster @@ -303,7 +320,7 @@ incremental = true inherits = "release" opt-level = 'z' lto = true -debug=true +debug = true # a profile for running the CLI that's also incremental [profile.cli-release-dev] @@ -348,7 +365,7 @@ repository = "https://github.com/DioxusLabs/dioxus/" homepage = "https://dioxuslabs.com" documentation = "https://dioxuslabs.com" keywords = ["dom", "ui", "gui", "react", "wasm"] -rust-version = "1.79.0" +rust-version = "1.80.0" publish = false version = "0.6.3" @@ -364,28 +381,22 @@ wasm-split = { workspace = true } [dev-dependencies] dioxus = { workspace = true, features = ["router"] } dioxus-ssr = { workspace = true } -futures-util = "0.3.31" -separator = "0.4.1" -serde = { version = "1.0.136", features = ["derive"] } -serde_json = "1.0.79" -rand = { version = "0.8.4", features = ["small_rng"] } -form_urlencoded = "1.2.0" -async-std = "1.12.0" +futures-util = { workspace = true } +separator = { workspace = true } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } +rand = { workspace = true, features = ["small_rng"] } +form_urlencoded = "1.2.1" +async-std = "1.13.0" web-time = "1.1.0" axum = { workspace = true, default-features = true } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] -getrandom = { version = "0.2.12", features = ["js"] } -tokio = { version = "1.40", default-features = false, features = [ - "sync", - "macros", - "io-util", - "rt", - "time" -] } +getrandom = { workspace = true } +tokio = { version = "1.43", default-features = false, features = ["sync", "macros", "io-util", "rt", "time"] } [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] -tokio = { version = "1.40", features = ["full"] } +tokio = { version = "1.43", features = ["full"] } # force vendored openssl on android [target.'cfg(target_os = "android")'.dev-dependencies] diff --git a/example-projects/file-explorer/Cargo.toml b/example-projects/file-explorer/Cargo.toml index 2d0e48f00..8957e85cb 100644 --- a/example-projects/file-explorer/Cargo.toml +++ b/example-projects/file-explorer/Cargo.toml @@ -8,4 +8,4 @@ publish = false [dependencies] dioxus = { workspace = true, features = ["desktop"] } -open = "5.1.2" +open = { workspace = true } diff --git a/example-projects/fullstack-hackernews/Cargo.toml b/example-projects/fullstack-hackernews/Cargo.toml index c1ebc10f6..35a883b98 100644 --- a/example-projects/fullstack-hackernews/Cargo.toml +++ b/example-projects/fullstack-hackernews/Cargo.toml @@ -9,7 +9,7 @@ publish = false [dependencies] dioxus = { workspace = true, features = ["fullstack", "router"] } -chrono = { version = "0.4.38", features = ["serde"] } +chrono = { workspace = true, features = ["serde"] } reqwest = { workspace= true, features = ["json"] } serde = { workspace = true, features = ["derive"] } diff --git a/example-projects/wifi-scanner/Cargo.toml b/example-projects/wifi-scanner/Cargo.toml index 8aac4da72..91b43d91c 100644 --- a/example-projects/wifi-scanner/Cargo.toml +++ b/example-projects/wifi-scanner/Cargo.toml @@ -7,7 +7,6 @@ publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -anyhow = { workspace = true } tokio = { workspace = true, features = ["full"] } dioxus = { workspace = true, features = ["desktop"] } futures-channel = { workspace = true } diff --git a/examples/fullstack-auth/Cargo.toml b/examples/fullstack-auth/Cargo.toml index 69e630eb5..40c7bfbaf 100644 --- a/examples/fullstack-auth/Cargo.toml +++ b/examples/fullstack-auth/Cargo.toml @@ -28,7 +28,7 @@ sqlx = { version = "0.8.2", features = [ http = { workspace = true, optional = true } tower = { workspace = true, optional = true } -execute = "0.2.12" +execute = "0.2.13" serde = { workspace = true } anyhow = { workspace = true } diff --git a/examples/fullstack-desktop/Cargo.toml b/examples/fullstack-desktop/Cargo.toml index 008a6a9f1..0e82dc9f8 100644 --- a/examples/fullstack-desktop/Cargo.toml +++ b/examples/fullstack-desktop/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] dioxus = { workspace = true, features = ["launch", "fullstack"] } -serde = "1.0.159" +serde = { workspace = true } [features] default = [] diff --git a/examples/fullstack-hello-world/Cargo.toml b/examples/fullstack-hello-world/Cargo.toml index bee8fc71b..e70222287 100644 --- a/examples/fullstack-hello-world/Cargo.toml +++ b/examples/fullstack-hello-world/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] dioxus = { workspace = true, features = ["fullstack"]} -serde = "1.0.159" +serde = { workspace = true } reqwest = { workspace = true } [features] diff --git a/examples/fullstack-router/Cargo.toml b/examples/fullstack-router/Cargo.toml index b635ed28e..49a1863a1 100644 --- a/examples/fullstack-router/Cargo.toml +++ b/examples/fullstack-router/Cargo.toml @@ -9,8 +9,8 @@ publish = false [dependencies] dioxus = { workspace = true, features = ["fullstack", "router"] } axum = { workspace = true, optional = true } -tokio = {workspace = true, features = ["full"], optional = true } -serde = { version = "1.0.159", features = ["derive"] } +tokio = { workspace = true, features = ["full"], optional = true } +serde = { workspace = true, features = ["derive"] } [features] default = [] diff --git a/packages/autofmt/Cargo.toml b/packages/autofmt/Cargo.toml index 29ae2d99c..9f8f16d31 100644 --- a/packages/autofmt/Cargo.toml +++ b/packages/autofmt/Cargo.toml @@ -11,7 +11,7 @@ keywords = ["web", "desktop", "mobile", "gui", "wasm"] [dependencies] dioxus-rsx = { workspace = true } -proc-macro2 = { version = "1.0.6", features = ["span-locations"] } +proc-macro2 = { workspace = true, features = ["span-locations"] } quote = { workspace = true } syn = { workspace = true, features = [ "full", @@ -19,11 +19,11 @@ syn = { workspace = true, features = [ "visit", "visit-mut", ] } -serde = { version = "1.0.136", features = ["derive"] } +serde = { workspace = true, features = ["derive"] } prettyplease = { workspace = true } [dev-dependencies] -pretty_assertions = "1.2.1" +pretty_assertions = { workspace = true } [package.metadata.docs.rs] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] diff --git a/packages/check/Cargo.toml b/packages/check/Cargo.toml index a61b59948..44327d5b0 100644 --- a/packages/check/Cargo.toml +++ b/packages/check/Cargo.toml @@ -16,5 +16,5 @@ syn = { workspace = true, features = ["full", "extra-traits", "visit"] } owo-colors = { workspace = true, features = ["supports-colors"] } [dev-dependencies] -indoc = "2.0.3" -pretty_assertions = "1.2.1" +indoc = "2.0.6" +pretty_assertions = { workspace = true } diff --git a/packages/cli-opt/Cargo.toml b/packages/cli-opt/Cargo.toml index 3587e3c6e..105e26342 100644 --- a/packages/cli-opt/Cargo.toml +++ b/packages/cli-opt/Cargo.toml @@ -13,27 +13,27 @@ keywords = ["dom", "ui", "gui", "react"] anyhow = { workspace = true } manganis = { workspace = true } manganis-core = { workspace = true } -object = {version="0.36.0", features=["wasm"]} +object = {version="0.36.7", features=["wasm"]} serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } const-serialize = { workspace = true, features = ["serde"] } tracing = { workspace = true } -rayon = "1.8.0" +rayon = "1.10.0" # Image compression/conversion # - JPEG -mozjpeg = { version = "0.10.7", default-features = false, features = [ +mozjpeg = { version = "0.10.13", default-features = false, features = [ "parallel", ] } # - PNG -imagequant = "4.2.0" -png = "0.17.9" +imagequant = "4.3.4" +png = "0.17.16" # Image format/conversion image = { version = "0.25", features = ["avif"] } # CSS Minification -lightningcss = { version = "1.0.0-alpha.60", features = ["browserslist", "into_owned"] } +lightningcss = { version = "1.0.0-alpha.63", features = ["browserslist", "into_owned"] } # SCSS Processing grass = "0.13.4" diff --git a/packages/cli/Cargo.toml b/packages/cli/Cargo.toml index 958bd9603..9a4bf093a 100644 --- a/packages/cli/Cargo.toml +++ b/packages/cli/Cargo.toml @@ -28,7 +28,7 @@ wasm-split-cli = { workspace = true } clap = { workspace = true, features = ["derive", "cargo"] } convert_case = { workspace = true } thiserror = { workspace = true } -uuid = { version = "1.3.0", features = ["v4"] } +uuid = { workspace = true, features = ["v4"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } toml = { workspace = true } @@ -38,20 +38,20 @@ notify = { workspace = true, features = ["serde"] } html_parser = { workspace = true } cargo_metadata = { workspace = true } tokio = { workspace = true, features = ["full"] } -tokio-stream = "0.1.15" -chrono = "0.4.19" +tokio-stream = { workspace = true } +chrono = { workspace = true } anyhow = { workspace = true } hyper = { workspace = true } -hyper-util = "0.1.3" +hyper-util = { workspace = true } hyper-rustls = { workspace = true } rustls = { workspace = true } -rayon = "1.8.0" -console = "0.15.8" -ctrlc = "3.2.3" +rayon = { workspace = true } futures-channel = { workspace = true } -krates = { version = "0.17.0" } cargo-config2 = { workspace = true, optional = true } -regex = "1.10.6" +krates = { version = "0.17.5" } +regex = "1.11.1" +console = "0.15.11" +ctrlc = "3.4.5" axum = { workspace = true, default-features = true, features = ["ws"] } axum-server = { workspace = true, features = ["tls-rustls"] } @@ -66,71 +66,67 @@ dunce = { workspace = true } # tools download dirs = { workspace = true } -reqwest = { workspace = true, features = [ - "rustls-tls", - "trust-dns", - "json" -] } +reqwest = { workspace = true, features = ["rustls-tls", "trust-dns", "json"] } tower = { workspace = true } -once_cell = "1.19.0" +once_cell = { workspace = true } # path lookup -which = { version = "7.0.1" } +which = { version = "7.0.2" } # plugin packages -open = "5.0.1" -cargo-generate = "=0.21.3" -toml_edit = "0.22.20" +open = { workspace = true } +cargo-generate = "0.22.1" +toml_edit = "0.22.24" # formatting # syn = { workspace = true } prettyplease = { workspace = true } # Assets -brotli = "6.0.0" -ignore = "0.4.22" +brotli = "7.0.0" +ignore = "0.4.23" env_logger = { workspace = true } const-serialize = { workspace = true, features = ["serde"] } -tracing-subscriber = { version = "0.3.18", features = ["std", "env-filter", "json", "registry", "fmt"] } -console-subscriber = { version = "0.3.0", optional = true } +tracing-subscriber = { version = "0.3.19", features = ["std", "env-filter", "json", "registry", "fmt"] } +console-subscriber = { version = "0.4.1", optional = true } tracing = { workspace = true } wasm-opt = { version = "0.116.1", optional = true } -crossterm = { version = "0.28.0", features = ["event-stream"] } -ansi-to-tui = "6.0" -ansi-to-html = "0.2.1" +crossterm = { version = "0.28.1", features = ["event-stream"] } +ansi-to-tui = "7.0.0" +ansi-to-html = "0.2.2" path-absolutize = "3.1" -ratatui = { version = "0.28.0", features = ["crossterm", "unstable"] } +ratatui = { version = "0.29.0", features = ["crossterm", "unstable"] } # disable `log` entirely since `walrus` uses it and is *much* slower with it enableda log = { version = "0.4", features = ["max_level_off", "release_max_level_off"] } # link intercept -tempfile = "3.3" +tempfile = "3.13" manganis = { workspace = true } manganis-core = { workspace = true } # Extracting data from an executable -object = {version="0.36.0", features=["wasm"]} -tokio-util = { version = "0.7.11", features = ["full"] } -itertools = "0.13.0" -throbber-widgets-tui = "=0.7.0" +object = { version = "0.36.7", features = ["wasm"] } +tokio-util = { workspace = true, features = ["full"] } +itertools = { workspace = true } +throbber-widgets-tui = "0.8.0" unicode-segmentation = "1.12.0" -handlebars = "6.1.0" -strum = { version = "0.26.3", features = ["derive"] } +handlebars = "6.3.1" +strum = { version = "0.27.1", features = ["derive"] } tauri-utils = { workspace = true } tauri-bundler = { workspace = true } include_dir = "0.7.4" -flate2 = "1.0.35" -tar = "0.4.43" +flate2 = "1.1.0" +tar = "0.4.44" local-ip-address = "0.6.3" dircpy = "0.3.19" plist = "1.7.0" memoize = "0.5.1" [build-dependencies] -built = { version = "=0.7.4", features = ["git2"] } +built = { version = "0.7.5", features = ["git2"] } [features] default = [] @@ -162,5 +158,5 @@ pkg-fmt = "zip" [package.metadata.docs.rs] all-features = false -rustc-args = [ "--cfg", "docsrs" ] -rustdoc-args = [ "--cfg", "docsrs" ] +rustc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs"] diff --git a/packages/cli/src/bundle_utils.rs b/packages/cli/src/bundle_utils.rs index a2db8579f..678beb03b 100644 --- a/packages/cli/src/bundle_utils.rs +++ b/packages/cli/src/bundle_utils.rs @@ -113,6 +113,7 @@ impl From for tauri_bundler::MacOsSettings { info_plist_path: val.info_plist_path, files: val.files, hardened_runtime: val.hardened_runtime, + bundle_version: val.bundle_version, } } } diff --git a/packages/cli/src/config/bundle.rs b/packages/cli/src/config/bundle.rs index 7a9540540..042dd2022 100644 --- a/packages/cli/src/config/bundle.rs +++ b/packages/cli/src/config/bundle.rs @@ -24,6 +24,7 @@ pub(crate) struct DebianSettings { /// the list of debian dependencies. pub depends: Option>, /// the list of recommended debian dependencies. + #[serde(default)] pub recommends: Option>, /// the list of dependencies the package provides. pub provides: Option>, @@ -98,6 +99,7 @@ pub(crate) struct WixSettings { #[derive(Debug, Clone, Serialize, Deserialize, Default)] pub(crate) struct MacOsSettings { + pub(crate) bundle_version: Option, pub(crate) frameworks: Option>, pub(crate) minimum_system_version: Option, pub(crate) license: Option, diff --git a/packages/const-serialize/Cargo.toml b/packages/const-serialize/Cargo.toml index 2133f802f..d9d5cf101 100644 --- a/packages/const-serialize/Cargo.toml +++ b/packages/const-serialize/Cargo.toml @@ -15,7 +15,7 @@ serde = { workspace = true, features = ["derive"], optional = true } [dev-dependencies] const-serialize = { path = "." } -rand.workspace = true +rand = { workspace = true } [features] test-big-endian = [] diff --git a/packages/core-types/Cargo.toml b/packages/core-types/Cargo.toml index a6a67bb68..d1b7cc60e 100644 --- a/packages/core-types/Cargo.toml +++ b/packages/core-types/Cargo.toml @@ -11,4 +11,4 @@ keywords = ["dom", "ui", "gui", "react", ] [dependencies] -once_cell.workspace = true +once_cell = { workspace = true } diff --git a/packages/core/Cargo.toml b/packages/core/Cargo.toml index 94b428e6e..f082a5bb4 100644 --- a/packages/core/Cargo.toml +++ b/packages/core/Cargo.toml @@ -8,6 +8,7 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/DioxusLabs/dioxus/" homepage = "https://dioxuslabs.com" keywords = ["web", "desktop", "mobile", "gui", "wasm"] +rust-version = "1.76.0" [dependencies] dioxus-core-types = { workspace = true } @@ -33,11 +34,11 @@ rand = { workspace = true } reqwest = { workspace = true } tracing-subscriber = { workspace = true, default-features = true } tracing-fluent-assertions = "0.3.0" -pretty_assertions = "1.3.0" +pretty_assertions = { workspace = true } sysinfo = "0.33.1" [dev-dependencies.web-sys] -version = "0.3.56" +version = "0.3.77" features = ["Document", "HtmlElement", "Window"] [features] diff --git a/packages/desktop/Cargo.toml b/packages/desktop/Cargo.toml index ffefedeb9..8bfb0a4e9 100644 --- a/packages/desktop/Cargo.toml +++ b/packages/desktop/Cargo.toml @@ -8,14 +8,11 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/DioxusLabs/dioxus/" homepage = "https://dioxuslabs.com/learn/0.6/getting_started" keywords = ["dom", "ui", "gui", "react"] +rust-version = "1.76.0" [dependencies] dioxus-core = { workspace = true, features = ["serialize"] } -dioxus-html = { workspace = true, features = [ - "serialize", - "mounted", - "file_engine", -] } +dioxus-html = { workspace = true, features = ["serialize", "mounted", "file_engine"] } dioxus-document = { workspace = true } dioxus-signals = { workspace = true, optional = true } dioxus-interpreter-js = { workspace = true, features = ["binary-protocol", "serialize"] } @@ -25,26 +22,22 @@ generational-box = { workspace = true } # hotreload only works on desktop platforms.... mobile is still wip dioxus-devtools = { workspace = true, optional = true } -serde = "1.0.136" -serde_json = "1.0.79" +serde = "1.0.218" +serde_json = "1.0.140" thiserror = { workspace = true } tracing = { workspace = true } -wry = { workspace = true, default-features = false, features = [ - "os-webview", - "protocol", - "drag-drop", -] } +wry = { workspace = true, default-features = false, features = ["os-webview", "protocol", "drag-drop"] } futures-channel = { workspace = true } tokio = { workspace = true, features = [ - "sync", - "rt-multi-thread", - "rt", - "time", - "macros", - "fs", - "io-util", + "sync", + "rt-multi-thread", + "rt", + "time", + "macros", + "fs", + "io-util", ], optional = true } -webbrowser = "0.8.0" +webbrowser = { workspace = true } infer = { workspace = true } dunce = { workspace = true } slab = { workspace = true } @@ -52,27 +45,22 @@ rustc-hash = { workspace = true } dioxus-hooks = { workspace = true } futures-util = { workspace = true } urlencoding = { workspace = true } -async-trait = "0.1.68" +async-trait = { workspace = true } tao = { workspace = true, features = ["rwh_05"] } once_cell = { workspace = true } -dioxus-history.workspace = true -base64.workspace = true +dioxus-history = { workspace = true } +base64 = { workspace = true } [target.'cfg(unix)'.dependencies] signal-hook = "0.3.17" [target.'cfg(target_os = "linux")'.dependencies] -wry = { workspace = true, features = [ - "os-webview", - "protocol", - "drag-drop", - "linux-body" -] } +wry = { workspace = true, features = ["os-webview", "protocol", "drag-drop", "linux-body"] } [target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux",target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies] -global-hotkey = "0.5.0" -rfd = { version = "0.14", default-features = false, features = ["xdg-portal", "tokio"] } +global-hotkey = "0.6.4" +rfd = { version = "0.15.2", default-features = false, features = ["xdg-portal", "tokio"] } muda = { workspace = true } [target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux"))'.dependencies] @@ -84,7 +72,7 @@ objc_id = "0.1.1" # use rustls on android [target.'cfg(target_os = "android")'.dependencies] -tokio-tungstenite = { workspace = true, optional = true, features = ["rustls"]} +tokio-tungstenite = { workspace = true, optional = true, features = ["rustls"] } jni = "0.21.1" ndk = { version = "0.9.0" } ndk-sys = { version = "0.6.0" } @@ -92,11 +80,11 @@ ndk-context = { version = "0.1.1" } # use native tls on other platforms [target.'cfg(not(target_os = "android"))'.dependencies] -tokio-tungstenite = { workspace = true, optional = true, features = ["native-tls"]} +tokio-tungstenite = { workspace = true, optional = true, features = ["native-tls"] } [target.'cfg(target_os = "macos")'.dependencies] -cocoa = "0.25" -core-foundation = "0.9.3" +cocoa = "0.26.0" +core-foundation = "0.10.0" objc = "0.2.7" [build-dependencies] @@ -115,15 +103,15 @@ features = ["tokio_runtime", "devtools"] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] default-features = false targets = [ - "x86_64-unknown-linux-gnu", - "x86_64-pc-windows-msvc", - "aarch64-apple-darwin", - "aarch64-apple-ios", - "aarch64-linux-android", - "armv7-linux-androideabi", + "x86_64-unknown-linux-gnu", + "x86_64-pc-windows-msvc", + "aarch64-apple-darwin", + "aarch64-apple-ios", + "aarch64-linux-android", + "armv7-linux-androideabi", ] -rustc-args = [ "--cfg", "docsrs" ] -rustdoc-args = [ "--cfg", "docsrs" ] +rustc-args = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs"] [dev-dependencies] dioxus = { workspace = true, features = ["desktop"] } @@ -132,7 +120,7 @@ reqwest = { workspace = true, features = ["json"] } http-range = { version = "0.1.5" } dioxus-ssr = { workspace = true, default-features = false } separator = "0.4.1" -rand = { version = "0.8.4", features = ["small_rng"] } +rand = { workspace = true, features = ["small_rng"] } # These tests need to be run on the main thread, so they cannot use rust's test harness. [[test]] diff --git a/packages/desktop/src/config.rs b/packages/desktop/src/config.rs index ade3ac060..883c2b94c 100644 --- a/packages/desktop/src/config.rs +++ b/packages/desktop/src/config.rs @@ -204,7 +204,7 @@ impl Config { /// # /// # fn main() { /// let cfg = Config::new() - /// .with_asynchronous_custom_protocol("asset", |request, responder| { + /// .with_asynchronous_custom_protocol("asset", |_webview_id, request, responder| { /// tokio::spawn(async move { /// responder.respond( /// HTTPResponse::builder() diff --git a/packages/devtools/Cargo.toml b/packages/devtools/Cargo.toml index 4b6680dbe..cc68aca44 100644 --- a/packages/devtools/Cargo.toml +++ b/packages/devtools/Cargo.toml @@ -18,14 +18,14 @@ serde_json = { workspace = true } # hot reloading serve tracing = { workspace = true } -warnings.workspace = true +warnings = { workspace = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -tungstenite = { version = "0.23.0" } +tungstenite = { workspace = true } [dev-dependencies] tokio = { workspace = true, features = ["full"] } -serde_json = "1.0.91" +serde_json = { workspace = true } [package.metadata.docs.rs] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] diff --git a/packages/dioxus/Cargo.toml b/packages/dioxus/Cargo.toml index 8d233114e..5f44fedc3 100644 --- a/packages/dioxus/Cargo.toml +++ b/packages/dioxus/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/DioxusLabs/dioxus/" homepage = "https://dioxuslabs.com" keywords = ["web", "desktop", "mobile", "gui", "wasm"] -rust-version = "1.79.0" +rust-version = "1.80.0" [dependencies] dioxus-core = { workspace = true } @@ -40,7 +40,21 @@ dioxus-cli-config = { workspace = true, optional = true } dioxus-devtools = { workspace = true, optional = true } [features] -default = ["macro", "html", "signals", "hooks", "launch", "mounted", "file_engine", "document", "asset", "devtools", "logger", "warnings", "cli-config"] +default = [ + "macro", + "html", + "signals", + "hooks", + "launch", + "mounted", + "file_engine", + "document", + "asset", + "devtools", + "logger", + "warnings", + "cli-config", +] minimal = ["macro", "html", "signals", "hooks", "launch"] signals = ["dep:dioxus-signals"] macro = ["dep:dioxus-core-macro"] @@ -54,7 +68,10 @@ document = ["dioxus-web?/document", "dep:dioxus-document", "dep:dioxus-history"] logger = ["dep:dioxus-logger"] cli-config = ["dep:dioxus-cli-config"] warnings = ["dep:warnings"] -wasm-split = ["dep:wasm-split", "dioxus-config-macros/wasm-split"] # note: to turn on the router splitter, you need to manually enable wasm-split on the router +wasm-split = [ + "dep:wasm-split", + "dioxus-config-macros/wasm-split", +] # note: to turn on the router splitter, you need to manually enable wasm-split on the router launch = ["dep:dioxus-config-macro"] router = ["dep:dioxus-router"] @@ -63,7 +80,13 @@ router = ["dep:dioxus-router"] fullstack = ["dep:dioxus-fullstack", "dioxus-config-macro/fullstack", "dep:serde"] desktop = ["dep:dioxus-desktop", "dioxus-fullstack?/desktop", "dioxus-config-macro/desktop"] mobile = ["dep:dioxus-mobile", "dioxus-fullstack?/mobile", "dioxus-config-macro/mobile"] -web = ["dep:dioxus-web", "dioxus-fullstack?/web", "dioxus-config-macro/web", "dep:dioxus-cli-config", "dioxus-cli-config?/web"] +web = [ + "dep:dioxus-web", + "dioxus-fullstack?/web", + "dioxus-config-macro/web", + "dep:dioxus-cli-config", + "dioxus-cli-config?/web", +] ssr = ["dep:dioxus-ssr", "dioxus-config-macro/ssr"] liveview = ["dep:dioxus-liveview", "dioxus-config-macro/liveview"] server = ["dioxus-fullstack?/axum", "dioxus-fullstack?/server", "ssr", "dioxus-liveview?/axum"] @@ -75,10 +98,10 @@ third-party-renderer = [] [dev-dependencies] futures-util = { workspace = true } tracing = { workspace = true } -rand = { version = "0.8.4", features = ["small_rng"] } +rand = { workspace = true, features = ["small_rng"] } criterion = { workspace = true } thiserror = { workspace = true } -env_logger = "0.10.0" +env_logger = { workspace = true } tokio = { workspace = true, features = ["full"] } dioxus = { workspace = true } @@ -88,15 +111,4 @@ harness = false [package.metadata.docs.rs] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] -features = [ - "router", - "ssr", - "web", - "fullstack", - "signals", - "hooks", - "html", - "liveview", - "server", - "warnings" -] +features = ["router", "ssr", "web", "fullstack", "signals", "hooks", "html", "liveview", "server", "warnings"] diff --git a/packages/dioxus/src/launch.rs b/packages/dioxus/src/launch.rs index f6fc86b4b..e1466b4b6 100644 --- a/packages/dioxus/src/launch.rs +++ b/packages/dioxus/src/launch.rs @@ -261,7 +261,7 @@ impl LaunchBuilder { /// # Example /// ```rust, no_run /// use dioxus::prelude::*; - /// use dioxus_desktop::Config; + /// use dioxus_desktop::{Config,WindowBuilder}; /// /// fn app() -> Element { /// rsx! { @@ -269,8 +269,13 @@ impl LaunchBuilder { /// } /// } /// - /// dioxus::LaunchBuilder::desktop() - /// .with_cfg(Config::new().with_window(|w| w.with_title("My App"))) + /// dioxus::LaunchBuilder::new() + /// .with_cfg(desktop! { + /// Config::new().with_window( + /// WindowBuilder::new() + /// .with_title("My App") + /// ) + /// }) /// .launch(app); /// ``` pub fn with_cfg(mut self, config: impl LaunchConfig) -> Self { diff --git a/packages/document/Cargo.toml b/packages/document/Cargo.toml index 6a667343c..fe52075b6 100644 --- a/packages/document/Cargo.toml +++ b/packages/document/Cargo.toml @@ -18,8 +18,8 @@ tracing = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } futures-channel = { workspace = true } -futures-util.workspace = true -generational-box.workspace = true +futures-util = { workspace = true } +generational-box = { workspace = true } [build-dependencies] lazy-js-bundle = { workspace = true } diff --git a/packages/fullstack-protocol/Cargo.toml b/packages/fullstack-protocol/Cargo.toml index 60a859241..4edb1b573 100644 --- a/packages/fullstack-protocol/Cargo.toml +++ b/packages/fullstack-protocol/Cargo.toml @@ -4,11 +4,11 @@ edition = "2021" version.workspace = true [dependencies] -ciborium.workspace = true +ciborium = { workspace = true } dioxus-core = { workspace = true } base64 = { workspace = true } serde = { workspace = true } -tracing.workspace = true +tracing = { workspace = true } [features] -web = [] \ No newline at end of file +web = [] diff --git a/packages/fullstack/Cargo.toml b/packages/fullstack/Cargo.toml index 3fdf4a6ca..4a429569e 100644 --- a/packages/fullstack/Cargo.toml +++ b/packages/fullstack/Cargo.toml @@ -44,11 +44,11 @@ dioxus-mobile = { workspace = true, optional = true } tracing = { workspace = true } tracing-futures = { workspace = true, optional = true } once_cell = { workspace = true } -tokio-util = { version = "0.7.8", features = ["rt"], optional = true } -async-trait = { version = "0.1.58", optional = true } +tokio-util = { workspace = true, features = ["rt"], optional = true } +async-trait = { workspace = true, optional = true } -serde = "1.0.159" -tokio-stream = { version = "0.1.12", features = ["sync"], optional = true } +serde = { workspace = true } +tokio-stream = { workspace = true, features = ["sync"], optional = true } futures-util = { workspace = true } futures-channel = { workspace = true } ciborium = { workspace = true } @@ -56,19 +56,26 @@ base64 = { workspace = true } rustls = { workspace = true, optional = true } hyper-rustls = { workspace = true, optional = true } -pin-project = { version = "1.1.2", optional = true } +pin-project = { version = "1.1.10", optional = true } thiserror = { workspace = true, optional = true } -bytes = "1.4.0" +bytes = "1.10.0" tower = { workspace = true, features = ["util"], optional = true } -tower-layer = { version = "0.3.2", optional = true } +tower-layer = { version = "0.3.3", optional = true } parking_lot = { workspace = true, features = ["send_guard"], optional = true } -web-sys = { version = "0.3.61", optional = true, features = ["Window", "Document", "Element", "HtmlDocument", "Storage", "console"] } +web-sys = { version = "0.3.77", optional = true, features = [ + "Window", + "Document", + "Element", + "HtmlDocument", + "Storage", + "console", +] } dioxus-cli-config = { workspace = true, optional = true } dioxus-devtools = { workspace = true, optional = true } -aws-lc-rs = { version = "1.8.1", optional = true } -dioxus-history.workspace = true +aws-lc-rs = { version = "1.12.5", optional = true } +dioxus-history = { workspace = true } [target.'cfg(target_arch = "wasm32")'.dependencies] tokio = { workspace = true, features = ["rt", "sync"], optional = true } diff --git a/packages/history/Cargo.toml b/packages/history/Cargo.toml index e43f448b9..3b61ff4ba 100644 --- a/packages/history/Cargo.toml +++ b/packages/history/Cargo.toml @@ -12,7 +12,7 @@ keywords = ["dom", "ui", "gui", "react"] [dependencies] dioxus-core = { workspace = true } -tracing.workspace = true +tracing = { workspace = true } [dev-dependencies] dioxus = { workspace = true, features = ["router"] } diff --git a/packages/hooks/Cargo.toml b/packages/hooks/Cargo.toml index 89dbcdda2..33a42e82b 100644 --- a/packages/hooks/Cargo.toml +++ b/packages/hooks/Cargo.toml @@ -20,7 +20,7 @@ futures-channel = { workspace = true } tracing = { workspace = true } slab = { workspace = true } futures-util = { workspace = true} -generational-box.workspace = true +generational-box = { workspace = true } rustversion = { workspace = true } warnings = { workspace = true } @@ -28,7 +28,7 @@ warnings = { workspace = true } futures-util = { workspace = true, default-features = false } dioxus-core = { workspace = true } dioxus = { workspace = true } -web-sys = { version = "0.3.64", features = ["Document", "Window", "Element"] } +web-sys = { workspace = true, features = ["Document", "Window", "Element"] } tokio = { workspace = true, features = ["full"] } reqwest = { workspace = true } diff --git a/packages/html/Cargo.toml b/packages/html/Cargo.toml index f8a479081..26fcaafa8 100644 --- a/packages/html/Cargo.toml +++ b/packages/html/Cargo.toml @@ -17,18 +17,18 @@ dioxus-rsx = { workspace = true, optional = true } dioxus-html-internal-macro = { workspace = true } dioxus-hooks = { workspace = true } generational-box = { workspace = true } -serde = { version = "1", features = ["derive"], optional = true } -serde_repr = { version = "0.1", optional = true } -js-sys = { version = "0.3.56", optional = true } -euclid = "0.22.7" -enumset = "1.1.2" -keyboard-types = { version = "0.7", default-features = false } -async-trait = { version = "0.1.58" } +serde = { workspace = true, features = ["derive"], optional = true } +serde_repr = { workspace = true, optional = true } +js-sys = { workspace = true, optional = true } +keyboard-types = { workspace = true, default-features = false } +async-trait = { workspace = true } tokio = { workspace = true, features = ["fs", "io-util"], optional = true } futures-channel = { workspace = true } -serde_json = { version = "1", optional = true } -tracing.workspace = true +serde_json = { workspace = true, optional = true } +tracing = { workspace = true } rustversion = { workspace = true } +euclid = "0.22.11" +enumset = "1.1.5" [build-dependencies] lazy-js-bundle = { workspace = true } diff --git a/packages/interpreter/Cargo.toml b/packages/interpreter/Cargo.toml index 3839eb0f1..7703fbc8c 100644 --- a/packages/interpreter/Cargo.toml +++ b/packages/interpreter/Cargo.toml @@ -13,14 +13,14 @@ keywords = ["dom", "ui", "gui", "react", "wasm"] [dependencies] wasm-bindgen = { workspace = true, optional = true } wasm-bindgen-futures = { workspace = true, optional = true } -js-sys = { version = "0.3.56", optional = true } -web-sys = { version = "0.3.56", optional = true, features = [ +js-sys = { workspace = true, optional = true } +web-sys = { workspace = true, optional = true, features = [ "Element", "Node", ] } sledgehammer_bindgen = { version = "0.6.0", default-features = false, optional = true } sledgehammer_utils = { version = "0.3.1", optional = true } -serde = { version = "1.0", features = ["derive"], optional = true } +serde = { workspace = true, features = ["derive"], optional = true } rustc-hash = { workspace = true, optional = true } dioxus-core = { workspace = true, optional = true } diff --git a/packages/liveview/Cargo.toml b/packages/liveview/Cargo.toml index 6b937fecb..4a8cc9c98 100644 --- a/packages/liveview/Cargo.toml +++ b/packages/liveview/Cargo.toml @@ -18,10 +18,10 @@ futures-util = { workspace = true, default-features = false, features = [ ] } futures-channel = { workspace = true } tokio = { workspace = true, features = ["time", "macros"] } -tokio-stream = { version = "0.1.11", features = ["net"] } -tokio-util = { version = "0.7.4", features = ["rt"] } -serde = { version = "1.0.151", features = ["derive"] } -serde_json = "1.0.91" +tokio-stream = { workspace = true, features = ["net"] } +tokio-util = { workspace = true, features = ["rt"] } +serde = { workspace = true, features = ["derive"] } +serde_json = { workspace = true } dioxus-html = { workspace = true, features = ["serialize"] } dioxus-document = { workspace = true } dioxus-history = { workspace = true } diff --git a/packages/logger/Cargo.toml b/packages/logger/Cargo.toml index 88934d35e..602e394ba 100644 --- a/packages/logger/Cargo.toml +++ b/packages/logger/Cargo.toml @@ -13,7 +13,7 @@ categories = ["development-tools::debugging"] [dependencies] -dioxus-cli-config = { workspace = true } +dioxus-cli-config = { workspace = true } tracing = { workspace = true } tracing-subscriber = { workspace = true, features = ["registry", "std"] } @@ -22,4 +22,7 @@ tracing-wasm = { workspace = true } console_error_panic_hook = { workspace = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -tracing-subscriber = { workspace = true, features = [ "fmt" ] } +tracing-subscriber = { workspace = true, features = ["fmt"] } + +[dev-dependencies] +dioxus = { workspace = true, features = ["fullstack"] } diff --git a/packages/manganis/manganis-macro/Cargo.toml b/packages/manganis/manganis-macro/Cargo.toml index 40b8571e2..46042ad6c 100644 --- a/packages/manganis/manganis-macro/Cargo.toml +++ b/packages/manganis/manganis-macro/Cargo.toml @@ -26,4 +26,4 @@ macro-string = { workspace = true } default = [] [dev-dependencies] -manganis.workspace = true +manganis = { workspace = true } diff --git a/packages/mobile/Cargo.toml b/packages/mobile/Cargo.toml index 473653972..4fa50df6f 100644 --- a/packages/mobile/Cargo.toml +++ b/packages/mobile/Cargo.toml @@ -8,13 +8,14 @@ repository = "https://github.com/DioxusLabs/dioxus/" homepage = "https://dioxuslabs.com/learn/0.6/getting_started" keywords = ["dom", "ui", "gui", "react"] license = "MIT OR Apache-2.0" +rust-version = "1.71.1" [dependencies] dioxus-desktop = { workspace = true } dioxus-lib = { workspace = true } dioxus-cli-config = { workspace = true } -libc = "0.2.159" -once_cell.workspace = true +libc = "0.2.170" +once_cell = { workspace = true } [target.'cfg(target_os = "android")'.dependencies] jni = "0.21.1" diff --git a/packages/playwright-tests/cli-optimization/Cargo.toml b/packages/playwright-tests/cli-optimization/Cargo.toml index b26db777e..1729f9efc 100644 --- a/packages/playwright-tests/cli-optimization/Cargo.toml +++ b/packages/playwright-tests/cli-optimization/Cargo.toml @@ -11,5 +11,5 @@ dioxus = { workspace = true, features = ["web"]} [build-dependencies] reqwest = { workspace = true, features = ["blocking"] } -flate2 = "1.0.35" -tar = "0.4.43" +flate2 = "1.1.0" +tar = "0.4.44" diff --git a/packages/playwright-tests/fullstack-mounted/Cargo.toml b/packages/playwright-tests/fullstack-mounted/Cargo.toml index e2187783b..75f655d29 100644 --- a/packages/playwright-tests/fullstack-mounted/Cargo.toml +++ b/packages/playwright-tests/fullstack-mounted/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] dioxus = { workspace = true, features = ["fullstack"] } -serde = "1.0.159" +serde = "1.0.218" tokio = { workspace = true, features = ["full"], optional = true } [features] diff --git a/packages/playwright-tests/fullstack/Cargo.toml b/packages/playwright-tests/fullstack/Cargo.toml index 09c0440b1..6fc29ab58 100644 --- a/packages/playwright-tests/fullstack/Cargo.toml +++ b/packages/playwright-tests/fullstack/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] dioxus = { workspace = true, features = ["fullstack"] } -serde = "1.0.159" +serde = "1.0.218" tokio = { workspace = true, features = ["full"], optional = true } [features] diff --git a/packages/playwright-tests/nested-suspense/Cargo.toml b/packages/playwright-tests/nested-suspense/Cargo.toml index d6fbb0e98..70fc6be81 100644 --- a/packages/playwright-tests/nested-suspense/Cargo.toml +++ b/packages/playwright-tests/nested-suspense/Cargo.toml @@ -8,7 +8,7 @@ publish = false [dependencies] dioxus = { workspace = true, features = ["fullstack"] } -serde = "1.0.159" +serde = "1.0.218" tokio = { workspace = true, features = ["full"], optional = true } [features] diff --git a/packages/playwright-tests/suspense-carousel/Cargo.toml b/packages/playwright-tests/suspense-carousel/Cargo.toml index 5b9c4c0ca..784c6cedb 100644 --- a/packages/playwright-tests/suspense-carousel/Cargo.toml +++ b/packages/playwright-tests/suspense-carousel/Cargo.toml @@ -5,9 +5,9 @@ version.workspace = true publish = false [dependencies] -async-std = "1.12.0" +async-std = "1.13.0" dioxus = { workspace = true, features = ["fullstack"] } -serde = "1.0.159" +serde = "1.0.218" [features] default = [] diff --git a/packages/playwright-tests/wasm-split-harness/Cargo.toml b/packages/playwright-tests/wasm-split-harness/Cargo.toml index 11fc067e8..37fb94edf 100644 --- a/packages/playwright-tests/wasm-split-harness/Cargo.toml +++ b/packages/playwright-tests/wasm-split-harness/Cargo.toml @@ -16,6 +16,5 @@ wasm-bindgen = { workspace = true } wasm-bindgen-futures = { workspace = true } web-sys = { workspace = true, features = ["Document", "Window", "HtmlElement", "Text", "DomRectReadOnly", "console"] } once_cell = { workspace = true } -getrandom = { workspace = true, features = ["js"] } +getrandom = { workspace = true } reqwest = { workspace = true, features = ["json"] } - diff --git a/packages/playwright-tests/web/Cargo.toml b/packages/playwright-tests/web/Cargo.toml index 2602a564b..94c218f56 100644 --- a/packages/playwright-tests/web/Cargo.toml +++ b/packages/playwright-tests/web/Cargo.toml @@ -8,8 +8,8 @@ publish = false [dependencies] dioxus = { workspace = true, features = ["web"]} -serde_json = "1.0.96" -tracing.workspace = true -tracing-wasm = "0.2.1" -wasm-bindgen.workspace = true +serde_json = { workspace = true } +tracing = { workspace = true } +tracing-wasm = { workspace = true } +wasm-bindgen = { workspace = true } web-sys = { workspace = true, features = ["Element", "Window"] } diff --git a/packages/rsx-rosetta/Cargo.toml b/packages/rsx-rosetta/Cargo.toml index 04b34e8c0..b1bbc0f5b 100644 --- a/packages/rsx-rosetta/Cargo.toml +++ b/packages/rsx-rosetta/Cargo.toml @@ -24,7 +24,7 @@ convert_case = { workspace = true } htmlentity = "1.3.2" [dev-dependencies] -pretty_assertions = "1.2.1" +pretty_assertions = { workspace = true } [package.metadata.docs.rs] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] diff --git a/packages/server-macro/Cargo.toml b/packages/server-macro/Cargo.toml index 7dcb221c5..cc4ca8057 100644 --- a/packages/server-macro/Cargo.toml +++ b/packages/server-macro/Cargo.toml @@ -9,19 +9,16 @@ authors = ["Jonathan Kelley", "Evan Almloff"] license = "MIT OR Apache-2.0" description = "Server function macros for Dioxus" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] -proc-macro2 = "^1.0.63" -quote = "^1.0.26" +proc-macro2 = { workspace = true } +quote = { workspace = true } syn = { workspace = true, features = ["full"] } server_fn_macro = "0.8.0-rc1" [dev-dependencies] dioxus = { workspace = true, features = ["fullstack"] } serde = { workspace = true, features = ["derive"] } -tower-http = { workspace = true, features = ["timeout"]} +tower-http = { workspace = true, features = ["timeout"] } axum = { workspace = true } [lib] diff --git a/packages/web/Cargo.toml b/packages/web/Cargo.toml index cbd91b0c1..7963d38c5 100644 --- a/packages/web/Cargo.toml +++ b/packages/web/Cargo.toml @@ -25,25 +25,22 @@ dioxus-interpreter-js = { workspace = true, features = [ dioxus-fullstack-protocol = { workspace = true, features = ["web"], optional = true } generational-box = { workspace = true } -js-sys = "0.3.70" +js-sys = { workspace = true } wasm-bindgen = { workspace = true } -wasm-bindgen-futures = "0.4.29" +wasm-bindgen-futures = { workspace = true } tracing = { workspace = true } rustc-hash = { workspace = true } -futures-util = { workspace = true, features = [ - "std", - "async-await", - "async-await-macro", -] } +futures-util = { workspace = true, features = ["std", "async-await", "async-await-macro"] } futures-channel = { workspace = true } serde_json = { version = "1.0", optional = true } serde = { version = "1.0", optional = true } -serde-wasm-bindgen = { version = "0.5.0", optional = true } +serde-wasm-bindgen = { version = "0.6.5", optional = true } -async-trait = { version = "0.1.58", optional = true } +ciborium = { workspace = true, optional = true } +async-trait = { workspace = true, optional = true } [dependencies.web-sys] -version = "0.3.70" +version = "0.3.77" features = [ "AnimationEvent", "ClipboardEvent", @@ -104,17 +101,24 @@ file_engine = [ "web-sys/FileList", "web-sys/FileReader" ] -devtools = ["web-sys/MessageEvent", "web-sys/WebSocket", "web-sys/Location", "dep:serde_json", "dep:serde", "dioxus-core/serialize"] +devtools = [ + "web-sys/MessageEvent", + "web-sys/WebSocket", + "web-sys/Location", + "dep:serde_json", + "dep:serde", + "dioxus-core/serialize", +] document = ["dep:serde-wasm-bindgen", "dep:serde_json", "dep:serde"] [dev-dependencies] dioxus = { workspace = true, default-features = true } -wasm-bindgen-test = "0.3.29" +wasm-bindgen-test = "0.3.50" dioxus-ssr = { workspace = true, default-features = false } -gloo-timers = "0.2.3" -gloo-dialogs = "0.1.1" +gloo-timers = { workspace = true } +gloo-dialogs = { workspace = true } dioxus-web = { path = ".", features = ["hydrate"] } -tracing-wasm = "0.2.1" +tracing-wasm = { workspace = true } [package.metadata.docs.rs] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]