Cargo.toml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. lib-ot = { path = "../../../shared-lib/lib-ot" }
  10. lib-ws = { path = "../../../shared-lib/lib-ws" }
  11. lib-infra = { path = "../../../shared-lib/lib-infra" }
  12. derive_more = {version = "0.99", features = ["display"]}
  13. lib-dispatch = { path = "../lib-dispatch" }
  14. flowy-database = { path = "../flowy-database" }
  15. flowy-sync = { path = "../flowy-sync" }
  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. log = "0.4.14"
  23. tokio = {version = "1", features = ["sync"]}
  24. tracing = { version = "0.1", features = ["log"] }
  25. bytes = { version = "1.1" }
  26. strum = "0.21"
  27. strum_macros = "0.21"
  28. dashmap = "4.0"
  29. parking_lot = "0.11"
  30. bytecount = "0.6.0"
  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. byteorder = {version = "1.3.4"}
  37. async-stream = "0.3.2"
  38. async-trait = "0.1.52"
  39. futures = "0.3.15"
  40. pin-project = "1.0.0"
  41. [dev-dependencies]
  42. flowy-test = { path = "../flowy-test" }
  43. flowy-document = { path = "../flowy-document", features = ["flowy_unit_test"]}
  44. color-eyre = { version = "0.5", default-features = false }
  45. criterion = "0.3"
  46. rand = "0.7.3"
  47. [features]
  48. http_server = []
  49. flowy_unit_test = ["lib-ot/flowy_unit_test", "flowy-sync/flowy_unit_test"]