mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-12 08:43:22 +08:00
🤔 feat(sqlite): 引入 sqlite
This commit is contained in:
@@ -18,6 +18,11 @@ tauri = { version = "1.2", features = ["api-all", "updater"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
[dependencies.tauri-plugin-sql]
|
||||
git = "https://github.com/tauri-apps/plugins-workspace"
|
||||
branch = "dev"
|
||||
features = ["sqlite"]
|
||||
|
||||
[features]
|
||||
# this feature is used for production builds or when `devPath` points to the filesystem
|
||||
# DO NOT REMOVE!!
|
||||
|
||||
@@ -89,6 +89,7 @@ fn main() {
|
||||
}
|
||||
Ok(())
|
||||
})
|
||||
.plugin(tauri_plugin_sql::Builder::default().build())
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user