Cargo.toml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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-collaboration = { path = "../../../shared-lib/flowy-collaboration" }
  8. flowy-derive = { path = "../../../shared-lib/flowy-derive" }
  9. backend-service = { path = "../../../shared-lib/backend-service" }
  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. derive_more = {version = "0.99", features = ["display"]}
  14. lib-dispatch = { path = "../lib-dispatch" }
  15. flowy-database = { path = "../flowy-database" }
  16. flowy-error = { path = "../flowy-error", features = ["collaboration", "ot", "backend", "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. lazy_static = "1.4.0"
  23. log = "0.4.14"
  24. tokio = {version = "1", features = ["sync"]}
  25. tracing = { version = "0.1", features = ["log"] }
  26. bytes = { version = "1.1" }
  27. strum = "0.21"
  28. strum_macros = "0.21"
  29. dashmap = "4.0"
  30. parking_lot = "0.11"
  31. bytecount = "0.6.0"
  32. url = "2.2"
  33. serde = { version = "1.0", features = ["derive"] }
  34. serde_json = {version = "1.0"}
  35. chrono = "0.4.19"
  36. futures-core = { version = "0.3", default-features = false }
  37. futures-util = "0.3.15"
  38. byteorder = {version = "1.3.4"}
  39. async-stream = "0.3.2"
  40. futures = "0.3.15"
  41. pin-project = "1.0.0"
  42. [dev-dependencies]
  43. flowy-test = { path = "../flowy-test" }
  44. flowy-document = { path = "../flowy-document", features = ["flowy_unit_test"]}
  45. flowy-net = { path = "../flowy-net" }
  46. color-eyre = { version = "0.5", default-features = false }
  47. criterion = "0.3"
  48. rand = "0.7.3"
  49. env_logger = "0.8.2"
  50. [features]
  51. http_server = []
  52. flowy_unit_test = ["lib-ot/flowy_unit_test"]