chore: cleanup phase 5, remove external runtime dependencies

This commit is contained in:
iven
2026-03-22 09:43:01 +08:00
parent 58cd24f85b
commit e8b9e813a6
32 changed files with 829 additions and 1913 deletions

View File

@@ -1,16 +1,14 @@
[package]
name = "desktop"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
version.workspace = true
edition.workspace = true
description = "ZCLAW Desktop Application"
authors = ["ZCLAW Team"]
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
# The `_lib` suffix may seem redundant but it is necessary
# to make the lib name unique and wouldn't conflict with the bin name.
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
name = "desktop_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
@@ -18,26 +16,46 @@ crate-type = ["staticlib", "cdylib", "rlib"]
tauri-build = { version = "2", features = [] }
[dependencies]
# ZCLAW crates
zclaw-types = { workspace = true }
zclaw-memory = { workspace = true }
zclaw-runtime = { workspace = true }
zclaw-kernel = { workspace = true }
# Tauri
tauri = { version = "2", features = [] }
tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
reqwest = { version = "0.11", features = ["json", "blocking"] }
chrono = { version = "0.4", features = ["serde"] }
regex = "1"
dirs = "5"
# Browser automation
# Async runtime
tokio = { workspace = true }
futures = { workspace = true }
# Serialization
serde = { workspace = true }
serde_json = { workspace = true }
# HTTP client
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls", "blocking"] }
# Utilities
chrono = { workspace = true }
regex = { workspace = true }
dirs = { workspace = true }
thiserror = { workspace = true }
uuid = { workspace = true }
base64 = { workspace = true }
tracing = { workspace = true }
# Browser automation (existing)
fantoccini = "0.21"
futures = "0.3"
base64 = "0.22"
thiserror = "2"
uuid = { version = "1", features = ["v4", "serde"] }
# Secure storage (OS keyring/keychain)
keyring = "3"
# SQLite for persistent memory storage
sqlx = { version = "0.7", features = ["runtime-tokio", "sqlite"] }
# Encryption
aes-gcm = { workspace = true }
sha2 = { workspace = true }
rand = { workspace = true }
# SQLite (keep for backward compatibility during migration)
sqlx = { workspace = true }