Cargo.toml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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-document-infra = { path = "../../../shared-lib/flowy-document-infra" }
  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. backend-service = { path = "../../../shared-lib/backend-service" }
  12. derive_more = {version = "0.99", features = ["display"]}
  13. lib-dispatch = { path = "../lib-dispatch" }
  14. lib-infra = { path = "../lib-infra" }
  15. flowy-database = { path = "../flowy-database" }
  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. lazy_static = "1.4.0"
  22. log = "0.4.14"
  23. tokio = {version = "1", features = ["sync"]}
  24. tracing = { version = "0.1", features = ["log"] }
  25. bytes = { version = "1.0" }
  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-core = { version = "0.3", default-features = false }
  36. byteorder = {version = "1.3.4"}
  37. async-stream = "0.3.2"
  38. futures = "0.3.15"
  39. pin-project = "1.0.0"
  40. [dev-dependencies]
  41. flowy-test = { path = "../flowy-test" }
  42. color-eyre = { version = "0.5", default-features = false }
  43. criterion = "0.3"
  44. rand = "0.7.3"
  45. env_logger = "0.8.2"
  46. [features]
  47. http_server = []
  48. flowy_test = []