Cargo.toml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [package]
  2. name = "flowy-user"
  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-user-infra = { path = "../../../shared-lib/flowy-user-infra" }
  8. backend-service = { path = "../../../shared-lib/backend-service" }
  9. flowy-derive = { path = "../../../shared-lib/flowy-derive" }
  10. lib-ws = { path = "../../../shared-lib/lib-ws" }
  11. lib-sqlite = { path = "../../../shared-lib/lib-sqlite" }
  12. lib-infra = { path = "../../../shared-lib/lib-infra" }
  13. flowy-collaboration = { path = "../../../shared-lib/flowy-collaboration", optional = true}
  14. lib-ot = { path = "../../../shared-lib/lib-ot", optional = true }
  15. derive_more = {version = "0.99", features = ["display"]}
  16. flowy-database = { path = "../flowy-database" }
  17. flowy-net = { path = "../flowy-net" }
  18. dart-notify = { path = "../dart-notify" }
  19. lib-dispatch = { path = "../lib-dispatch" }
  20. tracing = { version = "0.1", features = ["log"] }
  21. bytes = "1.0"
  22. serde = { version = "1.0", features = ["derive"] }
  23. serde_json = {version = "1.0"}
  24. log = "0.4.14"
  25. protobuf = {version = "2.18.0"}
  26. lazy_static = "1.4.0"
  27. diesel = {version = "1.4.8", features = ["sqlite"]}
  28. diesel_derives = {version = "1.4.1", features = ["sqlite"]}
  29. thread_local = "1.1.3"
  30. thread-id = "3.3.0"
  31. once_cell = "1.7.2"
  32. parking_lot = "0.11"
  33. strum = "0.21"
  34. strum_macros = "0.21"
  35. tokio = { version = "1", features = ["rt"] }
  36. pin-project = "1.0.0"
  37. futures-core = { version = "0.3", default-features = false }
  38. r2d2 = "0.8.9"
  39. dashmap = "4.0"
  40. [dev-dependencies]
  41. flowy-test = { path = "../flowy-test" }
  42. futures = "0.3.15"
  43. serial_test = "0.5.1"
  44. [features]
  45. http_server = []
  46. ws_mock = ["flowy-collaboration", "lib-ot"]