From d33ee156b865eddc162bcce28de7cc01db248efc Mon Sep 17 00:00:00 2001 From: Thomas van der Westen Date: Sun, 15 Jan 2023 11:47:32 +0100 Subject: [PATCH] Fix sql example in readme (#91) The line where the plugin is added: `.plugin(tauri_plugin_sql::Builder::default())` give my this error; ```the trait `Plugin>` is not implemented for `tauri_plugin_sql::Builder```` I found this fix: https://github.com/tauri-apps/tauri/issues/5947 and it works. --- plugins/sql/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sql/README.md b/plugins/sql/README.md index 2b7c6f9b..6b034f7c 100644 --- a/plugins/sql/README.md +++ b/plugins/sql/README.md @@ -42,7 +42,7 @@ First you need to register the core plugin with Tauri: ```rust fn main() { tauri::Builder::default() - .plugin(tauri_plugin_sql::Builder::default()) + .plugin(tauri_plugin_sql::Builder::default().build()) .run(tauri::generate_context!()) .expect("error while running tauri application"); }