From 7009f5db0845d9d7c5d5adc580f20113b88eaf40 Mon Sep 17 00:00:00 2001 From: Pauline Date: Fri, 2 Aug 2024 10:02:20 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20bump=20deps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 27 ++++++++------------------- apps/desktop/src/api/commands/mod.rs | 2 +- apps/desktop/src/lib.rs | 2 -- apps/desktop/src/main.rs | 1 - eslint.config.js | 1 - 5 files changed, 9 insertions(+), 24 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0a96d317..bf15816b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,10 +47,8 @@ tauri-plugin-clipboard-manager = { version = "=2.1.0-beta.7" } tauri-plugin-updater = { version = "=2.0.0-beta.12", features = [ "rustls-tls" ] } tauri-plugin-dialog = { version = "=2.0.0-beta.12" } -# rspc is updated on the v0.x branch rspc = { version = "=0.2.0", features = [ "specta2" ] } -# specta is updated on the main branch -specta = { version = "=2.0.0-rc.18", features = [ +specta = { version = "=2.0.0-rc.19", features = [ "chrono", "uuid", "serde", @@ -59,20 +57,17 @@ specta = { version = "=2.0.0-rc.18", features = [ "derive", "time" ] } -# tauri-specta is updated on main branch -tauri-specta = { version = "=2.0.0-rc.12", features = [ +tauri-specta = { version = "=2.0.0-rc.13", features = [ "javascript", "typescript", "derive" ] } -specta-typescript = { version = "=0.0.5" } -# rspc-tauri2 is updated on the main branch +specta-typescript = { version = "=0.0.6" } rspc-tauri2 = { version = "=0.0.1" } -# interpulse is updated on the main branch +# all other dependencies are updated to latest crates.io release channel interpulse = { version = "1", features = [ "specta" ] } -# all other dependencies are updated to latest crates.io release channel tracing = { version = "0.1" } tracing-subscriber = { version = "0.3", features = [ "chrono", @@ -181,22 +176,16 @@ features = [ default-features = false [patch.crates-io] -# specta = { git = "https://github.com/oscartbeaumont/specta", rev = "c717656b322ae6ff68f1c9fde1fb9ec7173a1bf9" } -# tauri-specta = { git = "https://github.com/oscartbeaumont/tauri-specta", rev = "70a84efe1cc013842f26599f89a7491d6a6ba18d" } - -# todo # rspc = { git = "https://github.com/oscartbeaumont/rspc", rev = "9f26d6400affdb501837cb023678268ad72feb9b" } # rspc-tauri2 = { git = "https://github.com/specta-rs/tauri2", rev = "6b9419566e2a826fb2a62538c7647f4524ab0fea" } -interpulse = { git = "https://github.com/pulseflow/workers", rev = "2969c74081a81a935ec7ccf76c3a302eae7d0a39" } - [profile.dev] # add debug symbols/logic and optimize for reduced build time (parallel) debug = true -# opt-level = 0 -# strip = "none" -# incremental = true -# split-debuginfo = "unpacked" +opt-level = 0 +strip = "none" +incremental = true +split-debuginfo = "unpacked" lto = false codegen-units = 256 rpath = false diff --git a/apps/desktop/src/api/commands/mod.rs b/apps/desktop/src/api/commands/mod.rs index 6c22866d..8a49cff4 100644 --- a/apps/desktop/src/api/commands/mod.rs +++ b/apps/desktop/src/api/commands/mod.rs @@ -53,7 +53,7 @@ macro_rules! collect_commands { download_mod, // Updater check_for_update, - install_update, + install_update ] }}; } diff --git a/apps/desktop/src/lib.rs b/apps/desktop/src/lib.rs index 1ed4d763..e38f54cd 100644 --- a/apps/desktop/src/lib.rs +++ b/apps/desktop/src/lib.rs @@ -1,5 +1,3 @@ -#![recursion_limit = "1024"] - use api::statics::get_program_info; use tauri::{Emitter, Manager}; diff --git a/apps/desktop/src/main.rs b/apps/desktop/src/main.rs index 325b487a..9b80960f 100644 --- a/apps/desktop/src/main.rs +++ b/apps/desktop/src/main.rs @@ -1,6 +1,5 @@ // Prevents additional console window on Windows in release, DO NOT REMOVE!! #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] -#![recursion_limit = "1024"] #[tokio::main] async fn main() { diff --git a/eslint.config.js b/eslint.config.js index b18e9abc..dca9294f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -21,6 +21,5 @@ export default petal({ '*.rs', 'pnpm-lock.yaml', '**/node_modules', - 'apps/frontend/src/bindings.ts', ], });