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