Something went wrong. Try again.
Something went wrong. Try again.
1.6 kB · 47 lines
TOML
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748[package]name = "weaver-editor-crdt"version.workspace = trueedition.workspace = truelicense.workspace = truedescription = "CRDT-backed editor with AT Protocol sync"
[features]default = []collab = ["weaver-common/iroh"]weaver = ["dep:weaver-renderer"] # Entry-specific conveniencesuse-index = ["weaver-common/use-index"] # Use weaver-index for reads
[[bin]]name = "editor_worker"path = "src/bin/editor_worker.rs"
[dependencies]weaver-editor-core = { path = "../weaver-editor-core" }weaver-common = { path = "../weaver-common", features = ["perf"] }weaver-api = { path = "../weaver-api" }jacquard = { workspace = true }loro = "1.9"serde = { workspace = true }smol_str = "0.3"web-time = "1"tracing = { workspace = true }thiserror = "2"futures-util = "0.3"n0-future = { workspace = true }
# Optional weaver-specific deps - only syntax-highlighting neededweaver-renderer = { path = "../weaver-renderer", optional = true, default-features = false, features = ["syntax-highlighting"] }
[target.'cfg(all(target_family = "wasm", target_os = "unknown"))'.dependencies]gloo-worker = { version = "0.5", features = ["futures"] }wasm-bindgen = "0.2"wasm-bindgen-futures = "0.4"base64 = "0.22"tokio = { version = "1", features = ["sync"] }console_error_panic_hook = "0.1"tracing-wasm = "0.2"tracing-subscriber = { version = "0.3", default-features = false, features = ["std", "registry", "env-filter"] }
[target.'cfg(not(all(target_family = "wasm", target_os = "unknown")))'.dependencies]base64 = "0.22"tokio = { version = "1", features = ["sync"] }