Files
AFFiNE/packages/frontend/client/Cargo.toml
T
DarkSky b8fc823a0a perf(desktop): omit cloud sync from Web Desktop
Build the Web Desktop client with local workspace storage.
Keep cloud sync enabled by default and in native Desktop.
Require cloud sync for the cloud integration tests.

Model: codex/gpt-6.2-sol.
Tests: Rust unit tests.
2026-12-03 01:15:10 +09:00

47 lines
1.1 KiB
TOML

[package]
name = "affine-client"
workspace = ".."
version.workspace = true
edition.workspace = true
publish.workspace = true
license.workspace = true
[lints]
workspace = true
[features]
default = ["cloud-sync"]
cloud-sync = []
[[test]]
name = "doc_sync_peer_protocol"
required-features = ["cloud-sync"]
[[test]]
name = "lazy_hydration_remote_sync_persistence"
required-features = ["cloud-sync"]
[[test]]
name = "persistence_cancellation_and_tombstones"
required-features = ["cloud-sync"]
[[test]]
name = "workspace_sync_and_blobs"
required-features = ["cloud-sync"]
[dependencies]
affine-legacy-import = { path = "../legacy-import" }
affine-store = { path = "../../common/store" }
blocksuite-editor = { path = "../../../blocksuite/crates/editor", default-features = false }
blocksuite-playground-doc = { path = "../../../blocksuite/crates/doc", default-features = false }
getrandom.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
[dev-dependencies]
y-octo.workspace = true
[target.'cfg(not(target_family = "wasm"))'.dependencies]
tokio.workspace = true