This commit is contained in:
2024-06-11 20:46:38 +02:00
parent a7b14c5c40
commit 315fbdcc4e
6 changed files with 3133 additions and 1408 deletions

4491
src-tauri/Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,7 +7,7 @@ license = "MIT"
repository = "https://github.com/Fractal-Tess/Svelte-Tauri"
default-run = "svelte-tauri"
edition = "2021"
rust-version = "1.71.1"
rust-version = "1.78.0"
[build-dependencies.tauri-build]
version = "1.5.2"
@@ -19,10 +19,6 @@ sha2 = "0.10.8"
thiserror = "1.0.56"
specta = "1.0.5"
[dependencies.tauri-plugin-window-state]
git = "https://github.com/tauri-apps/plugins-workspace"
branch = "dev"
[dependencies.serde]
version = "1.0.196"
features = ["derive"]
@@ -44,3 +40,9 @@ panic = "abort"
codegen-units = 1
lto = true
opt-level = 3
[dependencies.tauri-plugin-sql]
features = ["sqlite"] # or "postgres", or "mysql"
# alternatively with Git
git = "https://github.com/tauri-apps/plugins-workspace"
branch = "v1"

View File

@@ -14,7 +14,8 @@ mod state;
fn main() {
// App builder
let app = TauriBuilder::default().plugin(tauri_plugin_window_state::Builder::default().build());
let app = TauriBuilder::default()
.plugin(tauri_plugin_sql::Builder::default().build());
// Register app commands
let app = register_command_handlers(app);