[fix] store persistence and switch dir to 'cstb'

This commit is contained in:
Purp1e
2025-03-20 01:46:54 +08:00
parent b90a08d0fe
commit c28cd23b5c
14 changed files with 136 additions and 81 deletions

View File

@@ -9,6 +9,12 @@ default-run = "CS工具箱"
edition = "2021"
rust-version = "1.66"
[profile.release]
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
opt-level = "s" # Optimize for binary size
strip = true # Remove debug symbols
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[build-dependencies]
@@ -29,7 +35,7 @@ tauri-plugin-clipboard-manager = "2.2.2"
tauri-plugin-shell = "2.2.0"
tauri-plugin-http = "2.4.2"
tauri-plugin-notification = "2.2.2"
tauri-plugin-valtio = "1.1.1"
tauri-plugin-valtio = "2.0.0"
tauri-plugin-store = "2.2.0"
tauri-plugin-system-info = "2.0.9"
tauri-plugin-theme = "2.1.3"