Update
This commit is contained in:
4491
src-tauri/Cargo.lock
generated
4491
src-tauri/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user