Cargo.toml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [package]
  2. name = "flowy-document2"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. collab = { version = "0.1.0" }
  8. collab-document = { version = "0.1.0" }
  9. collab-entity = { version = "0.1.0" }
  10. collab-integrate = { workspace = true }
  11. flowy-document-deps = { workspace = true }
  12. flowy-storage = { workspace = true }
  13. flowy-derive = { path = "../../../shared-lib/flowy-derive" }
  14. flowy-notification = { workspace = true }
  15. flowy-error = { path = "../flowy-error", features = ["impl_from_serde", "impl_from_sqlite", "impl_from_dispatch_error", "impl_from_collab"] }
  16. lib-dispatch = { workspace = true }
  17. lib-infra = { path = "../../../shared-lib/lib-infra" }
  18. protobuf = {version = "2.28.0"}
  19. bytes = { version = "1.5" }
  20. nanoid = "0.4.0"
  21. parking_lot = "0.12.1"
  22. strum_macros = "0.21"
  23. serde = { version = "1.0", features = ["derive"] }
  24. serde_json = {version = "1.0"}
  25. tracing = { version = "0.1", features = ["log"] }
  26. tokio = { version = "1.26", features = ["full"] }
  27. anyhow = "1.0"
  28. indexmap = {version = "1.9.2", features = ["serde"]}
  29. uuid = { version = "1.3.3", features = ["v4"] }
  30. futures = "0.3.26"
  31. tokio-stream = { version = "0.1.14", features = ["sync"] }
  32. [dev-dependencies]
  33. tempfile = "3.4.0"
  34. tracing-subscriber = { version = "0.3.3", features = ["env-filter"] }
  35. [build-dependencies]
  36. flowy-codegen = { path = "../../../shared-lib/flowy-codegen"}
  37. [features]
  38. dart = ["flowy-codegen/dart", "flowy-notification/dart"]
  39. ts = ["flowy-codegen/ts", "flowy-notification/ts"]