|
|
@ -14,10 +14,12 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
|
|
|
|
|
|
|
|
|
|
|
|
`src-tauri/Cargo.toml`
|
|
|
|
`src-tauri/Cargo.toml`
|
|
|
|
```toml
|
|
|
|
```toml
|
|
|
|
[dependencies.tauri-plugin-sql]
|
|
|
|
[dependencies]
|
|
|
|
git = "https://github.com/tauri-apps/plugins-workspace"
|
|
|
|
tauri-plugin-sql = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev" }
|
|
|
|
branch = "dev"
|
|
|
|
# or
|
|
|
|
features = ["sqlite"] # or "postgres", or "mysql"
|
|
|
|
tauri-plugin-sql = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev", default-features = false, features = ["postgres"] }
|
|
|
|
|
|
|
|
# or
|
|
|
|
|
|
|
|
tauri-plugin-sql = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev", default-features = false, features = ["mysql"] }
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
You can install the JavaScript Guest bindings using your preferred JavaScript package manager:
|
|
|
|
You can install the JavaScript Guest bindings using your preferred JavaScript package manager:
|
|
|
|