mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 11:15:01 +03:00
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.
47 lines
1.1 KiB
TOML
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
|