Skip to content

Commit 0536341

Browse files
authored
Merge pull request #7 from 1Cor125/plugin_api
Define and Describe Plugin API
2 parents b822584 + 173e847 commit 0536341

16 files changed

Lines changed: 1859 additions & 213 deletions

File tree

Cargo.lock

Lines changed: 122 additions & 110 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,21 @@ rust-version = "1.89"
1414
links = "tauri-plugin-sqlite"
1515

1616
[dependencies]
17-
tauri = "2.5.1"
17+
tauri = "2.9.3"
1818
serde = { version = "1.0.228", features = ["derive"] }
19+
serde_json = "1.0.145"
1920
thiserror = "2.0.17"
21+
log = "0.4.28"
22+
futures-core = "0.3.31"
23+
time = "0.3.44"
24+
tokio = { version = "1.48.0", features = ["sync"] }
25+
indexmap = { version = "2.12.1", features = ["serde"] }
26+
27+
# SQLx for types and queries (time feature enables datetime type decoding)
28+
sqlx = { version = "0.8.6", features = ["sqlite", "json", "time", "runtime-tokio"] }
29+
30+
# Connection manager
31+
sqlx-sqlite-conn-mgr = { path = "crates/sqlx-sqlite-conn-mgr" }
2032

2133
[build-dependencies]
2234
tauri-plugin = { version = "2.5.1", features = ["build"] }

LICENSE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
SOFTWARE.
22+
23+
Parts of the code are based on Tauri's "Plugin-SQL"
24+
Copyright 2019-2023 Tauri Programme within The Commons Conservancy
25+
SPDX-License-Identifier: Apache-2.0
26+
SPDX-License-Identifier: MIT

0 commit comments

Comments
 (0)