Files
AFFiNE/packages/frontend/desktop/Cargo.toml
T
DarkSky 7ebdec91c7 fix(desktop): preserve database backlink order and limits
Keep discovery order when database names compare equal. Count rows that
link to their own document before the search removes them.
2026-12-05 06:30:02 +09:00

49 lines
1.5 KiB
TOML

[package]
name = "affine-desktop"
workspace = ".."
version.workspace = true
edition.workspace = true
publish.workspace = true
license.workspace = true
[lints]
workspace = true
[features]
default = []
harness = ["playground/harness", "ui/harness", "ui-kit/harness"]
[[bin]]
name = "desktop-harness"
path = "src/bin/desktop_harness/main.rs"
required-features = ["harness"]
[dependencies]
affine-client = { path = "../client", default-features = false }
affine-store = { path = "../../common/store", default-features = false }
anyhow.workspace = true
blocksuite-editor = { path = "../../../blocksuite/crates/editor", default-features = false }
blocksuite-playground-doc = { path = "../../../blocksuite/crates/doc", default-features = false }
playground = { path = "../../../blocksuite/crates/playground" }
serde.workspace = true
serde_json.workspace = true
sha2.workspace = true
ui = { path = "../../ui/ui" }
ui-kit = { path = "../../ui/kit" }
ui-tokens = { path = "../../ui/tokens" }
unicode-normalization.workspace = true
y-octo.workspace = true
[target.'cfg(not(target_family = "wasm"))'.dependencies]
affine-client = { path = "../client", features = ["cloud-sync"] }
image.workspace = true
tokio.workspace = true
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys.workspace = true
wasm-bindgen.workspace = true
[dev-dependencies]
playground = { path = "../../../blocksuite/crates/playground", features = ["harness"] }
ui = { path = "../../ui/ui", features = ["harness"] }