atproto blogging
at main 47 lines 1.6 kB view raw
1[package] 2name = "weaver-editor-crdt" 3version.workspace = true 4edition.workspace = true 5license.workspace = true 6description = "CRDT-backed editor with AT Protocol sync" 7 8[features] 9default = [] 10collab = ["weaver-common/iroh"] 11weaver = ["dep:weaver-renderer"] # Entry-specific conveniences 12use-index = ["weaver-common/use-index"] # Use weaver-index for reads 13 14[[bin]] 15name = "editor_worker" 16path = "src/bin/editor_worker.rs" 17 18[dependencies] 19weaver-editor-core = { path = "../weaver-editor-core" } 20weaver-common = { path = "../weaver-common", features = ["perf"] } 21weaver-api = { path = "../weaver-api" } 22jacquard = { workspace = true } 23loro = "1.9" 24serde = { workspace = true } 25smol_str = "0.3" 26web-time = "1" 27tracing = { workspace = true } 28thiserror = "2" 29futures-util = "0.3" 30n0-future = { workspace = true } 31 32# Optional weaver-specific deps - only syntax-highlighting needed 33weaver-renderer = { path = "../weaver-renderer", optional = true, default-features = false, features = ["syntax-highlighting"] } 34 35[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies] 36gloo-worker = { version = "0.5", features = ["futures"] } 37wasm-bindgen = "0.2" 38wasm-bindgen-futures = "0.4" 39base64 = "0.22" 40tokio = { version = "1", features = ["sync"] } 41console_error_panic_hook = "0.1" 42tracing-wasm = "0.2" 43tracing-subscriber = { version = "0.3", default-features = false, features = ["std", "registry", "env-filter"] } 44 45[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies] 46base64 = "0.22" 47tokio = { version = "1", features = ["sync"] }