Cargo.toml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 = "../../../shared-lib/flowy-sync"}
  8. flowy-http-model = { path = "../../../shared-lib/flowy-http-model"}
  9. flowy-derive = { path = "../../../shared-lib/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" }
  15. flowy-revision = { path = "../flowy-revision" }
  16. flowy-error = { path = "../flowy-error", features = ["collaboration", "ot", "http_server", "serde", "db"] }
  17. dart-notify = { path = "../dart-notify" }
  18. diesel = {version = "1.4.8", features = ["sqlite"]}
  19. diesel_derives = {version = "1.4.1", features = ["sqlite"]}
  20. protobuf = {version = "2.18.0"}
  21. unicode-segmentation = "1.8"
  22. log = "0.4.14"
  23. tokio = {version = "1", features = ["sync"]}
  24. tracing = { version = "0.1", features = ["log"] }
  25. bytes = { version = "1.1" }
  26. md5 = "0.7.0"
  27. strum = "0.21"
  28. strum_macros = "0.21"
  29. dashmap = "5"
  30. url = "2.2"
  31. serde = { version = "1.0", features = ["derive"] }
  32. serde_json = {version = "1.0"}
  33. chrono = "0.4.19"
  34. futures-util = "0.3.15"
  35. async-stream = "0.3.2"
  36. futures = "0.3.15"
  37. [dev-dependencies]
  38. flowy-test = { path = "../flowy-test" }
  39. flowy-document = { path = "../flowy-document", features = ["flowy_unit_test"]}
  40. derive_more = {version = "0.99", features = ["display"]}
  41. tracing-subscriber = "0.2.0"
  42. color-eyre = { version = "0.5", default-features = false }
  43. criterion = "0.3"
  44. rand = "0.8.5"
  45. [build-dependencies]
  46. flowy-codegen= { path = "../../../shared-lib/flowy-codegen"}
  47. [features]
  48. sync = []
  49. cloud_sync = ["sync"]
  50. flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-revision/flowy_unit_test"]
  51. dart = ["flowy-codegen/dart"]