Moves the credentials module (keyring + AES-256-GCM encrypted file store for Qobuz credentials and the OAuth token) out of src-tauri into a new qbz-credentials crate. src-tauri/credentials re-exports it, so the Tauri app keeps identical behavior while the Slint shell can share the exact same implementation, encrypted file, and keyring entries. The module was already fully self-contained (no Tauri, no crate:: references); only the dependency declarations move with it. cc
23 lines
674 B
TOML
23 lines
674 B
TOML
[package]
|
|
name = "qbz-credentials"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "Encrypted credential and OAuth token storage for QBZ (keyring + AES-256-GCM file)"
|
|
|
|
[dependencies]
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
log = { workspace = true }
|
|
base64 = { workspace = true }
|
|
tokio = { workspace = true }
|
|
aes-gcm = "0.10"
|
|
sha2 = "0.11"
|
|
rand = "0.10"
|
|
dirs = "6"
|
|
keyring = { version = "3", features = ["async-secret-service", "crypto-rust"] }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
ashpd = { version = "0.13", default-features = false, features = ["tokio", "secret"] }
|