chore: save workspace member info to disk (#5536)

* chore: save workspace member info to disk

* chore: fix clippy
This commit is contained in:
Nathan.fooo
2024-06-14 11:34:23 +08:00
committed by GitHub
parent 785597f53e
commit 27899ee993
18 changed files with 207 additions and 24 deletions

View File

@ -13,8 +13,7 @@ futures-core = { version = "0.3", default-features = false }
futures-channel = "0.3.26"
futures.workspace = true
futures-util = "0.3.26"
bytes = {version = "1.4", features = ["serde"]}
tokio = { workspace = true, features = ["rt", "sync"] }
bytes = { version = "1.4", features = ["serde"] }
nanoid = "0.4.0"
dyn-clone = "1.0"
@ -25,16 +24,18 @@ serde_repr = { workspace = true, optional = true }
validator = "0.16.1"
tracing.workspace = true
parking_lot = "0.12"
bincode = { version = "1.3", optional = true}
bincode = { version = "1.3", optional = true }
protobuf = { workspace = true, optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
thread-id = "3.3.0"
tokio = { workspace = true, features = ["full", "rt-multi-thread"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.2", features = ["js"]}
getrandom = { version = "0.2", features = ["js"] }
wasm-bindgen = { version = "0.2.89" }
wasm-bindgen-futures = "0.4"
tokio = { workspace = true, features = ["rt", "sync"] }
[dev-dependencies]
tokio = { workspace = true, features = ["rt"] }
@ -43,7 +44,7 @@ futures-util = "0.3.26"
[features]
default = ["use_protobuf"]
use_serde = ["bincode", "serde_json", "serde", "serde_repr"]
use_protobuf= ["protobuf"]
use_protobuf = ["protobuf"]
local_set = []