Cargo.toml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. [package]
  2. name = "flowy-document"
  3. version = "0.1.0"
  4. edition = "2018"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [dependencies]
  7. flowy-sync = { path = "../flowy-sync"}
  8. flowy-http-model = { path = "../../../shared-lib/flowy-http-model"}
  9. flowy-derive = { path = "../flowy-derive" }
  10. lib-ot = { path = "../../../shared-lib/lib-ot" }
  11. lib-ws = { path = "../../../shared-lib/lib-ws" }
  12. lib-infra = { path = "../../../shared-lib/lib-infra" }
  13. lib-dispatch = { path = "../lib-dispatch" }
  14. flowy-database = { path = "../flowy-database", optional = true }
  15. flowy-revision = { path = "../flowy-revision" }
  16. flowy-revision-persistence = { path = "../flowy-revision-persistence" }
  17. flowy-error = { path = "../flowy-error", features = ["collaboration", "ot", "http_server", "serde", "db"] }
  18. flowy-notification = { path = "../flowy-notification" }
  19. diesel = {version = "1.4.8", features = ["sqlite"]}
  20. diesel_derives = {version = "1.4.1", features = ["sqlite"]}
  21. protobuf = {version = "2.18.0"}
  22. unicode-segmentation = "1.8"
  23. log = "0.4.14"
  24. tokio = {version = "1", features = ["sync"]}
  25. tracing = { version = "0.1", features = ["log"] }
  26. bytes = { version = "1.1" }
  27. md5 = "0.7.0"
  28. strum = "0.21"
  29. strum_macros = "0.21"
  30. dashmap = "5"
  31. url = "2.2"
  32. serde = { version = "1.0", features = ["derive"] }
  33. serde_json = {version = "1.0"}
  34. chrono = "0.4.19"
  35. futures-util = "0.3.15"
  36. async-stream = "0.3.2"
  37. futures = "0.3.15"
  38. [dev-dependencies]
  39. flowy-test = { path = "../flowy-test" }
  40. flowy-document = { path = "../flowy-document", features = ["flowy_unit_test"]}
  41. derive_more = {version = "0.99", features = ["display"]}
  42. tracing-subscriber = "0.2.0"
  43. color-eyre = { version = "0.5", default-features = false }
  44. criterion = "0.3"
  45. rand = "0.8.5"
  46. [build-dependencies]
  47. flowy-codegen = { path = "../flowy-codegen"}
  48. [features]
  49. sync = []
  50. cloud_sync = ["sync"]
  51. rev-sqlite = ["flowy-database"]
  52. flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-revision/flowy_unit_test"]
  53. dart = ["flowy-codegen/dart", "flowy-notification/dart"]
  54. ts = ["flowy-codegen/ts", "flowy-notification/ts"]