frontend fixes & db rewrite with serde

This commit is contained in:
Priler 2026-01-04 09:00:51 +05:00
parent 61b7a79455
commit 091a41ac33
37 changed files with 910 additions and 663 deletions

49
Cargo.lock generated
View file

@ -324,7 +324,7 @@ dependencies = [
"anyhow",
"arrayvec",
"log",
"nom",
"nom 8.0.0",
"num-rational",
"v_frame",
]
@ -481,6 +481,12 @@ dependencies = [
"serde",
]
[[package]]
name = "bytesize"
version = "1.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e93abca9e28e0a1b9877922aacb20576e05d4679ffa78c3d6dc22a26a216659"
[[package]]
name = "cairo-rs"
version = "0.18.5"
@ -2641,6 +2647,7 @@ dependencies = [
"kira",
"log",
"once_cell",
"parking_lot",
"platform-dirs",
"pv_recorder",
"rand 0.8.5",
@ -2658,12 +2665,16 @@ name = "jarvis-gui"
version = "0.1.0"
dependencies = [
"jarvis-core",
"lazy_static",
"log",
"once_cell",
"parking_lot",
"peak_alloc",
"platform-dirs",
"serde",
"serde_json",
"simple-log",
"systemstat",
"tauri",
"tauri-build",
"tauri-plugin-dialog",
@ -3073,6 +3084,12 @@ version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
[[package]]
name = "minimal-lexical"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
[[package]]
name = "miniz_oxide"
version = "0.8.9"
@ -3193,6 +3210,16 @@ version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
[[package]]
name = "nom"
version = "7.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
dependencies = [
"memchr",
"minimal-lexical",
]
[[package]]
name = "nom"
version = "8.0.0"
@ -3922,6 +3949,12 @@ version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3"
[[package]]
name = "peak_alloc"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ccc90935a8dd139fdf341762773687a1e361d3f54b396a55d9dd1f7001e484bb"
[[package]]
name = "percent-encoding"
version = "2.3.2"
@ -5702,6 +5735,20 @@ dependencies = [
"version-compare",
]
[[package]]
name = "systemstat"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5021f5184d44b26fb184acd689671bbe1e4bbd24bbdaa6bc7ec383fad32d2033"
dependencies = [
"bytesize",
"lazy_static",
"libc",
"nom 7.1.3",
"time",
"winapi",
]
[[package]]
name = "tao"
version = "0.34.5"