mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-20 05:29:17 +00:00

- Introduced `select` and `execute` functions in the database module to facilitate querying and executing SQL commands. - Updated the Tauri plugin to expose these commands, allowing for database interactions from the frontend. - Added corresponding permissions for the new commands in the permissions configuration. - Enhanced the database library with JSON value handling for query parameters.
16 lines
360 B
TOML
16 lines
360 B
TOML
[package]
|
|
name = "db"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
rusqlite = { version = "0.31.0", features = [
|
|
"bundled-sqlcipher-vendored-openssl",
|
|
] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
tempfile = "3.10.1"
|
|
strum = { workspace = true }
|
|
strum_macros = { workspace = true }
|
|
anyhow.workspace = true
|