重构: secret纯密钥逻辑下沉df-storage(方案B避循环依赖,12调用点零改)

This commit is contained in:
2026-06-16 22:57:43 +08:00
parent 36f70b3229
commit 766f235ab7
7 changed files with 571 additions and 222 deletions

View File

@@ -17,3 +17,8 @@ uuid = { version = "1", features = ["v4"] }
rusqlite = { version = "0.31", features = ["bundled"] }
tracing = "0.1"
regex = "1"
# keyring v3 默认不带任何 platform 后端,必须显式启 feature——
# 否则 Entry 走 noop store:set_password 静默成功不持久化,get_password 永远空。
# Win+mac 启用原生后端;linux 用 async-persistent 变体避同步阻塞 Secret Service。
# 由 df-storage(密钥解析下沉层) + src-tauri(build_provider_for 转发壳)共同引用。
keyring = { version = "3", features = ["windows-native", "apple-native", "linux-native-async-persistent"] }