Cargo.toml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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-derive = { path = "../../../shared-lib/flowy-derive" }
  8. flowy-sqlite = { path = "../flowy-sqlite", optional = true }
  9. flowy-error = { path = "../flowy-error", features = ["impl_from_sqlite", "impl_from_dispatch_error"] }
  10. lib-infra = { path = "../../../shared-lib/lib-infra" }
  11. flowy-notification = { path = "../flowy-notification" }
  12. flowy-server-config = { path = "../flowy-server-config" }
  13. lib-dispatch = { path = "../lib-dispatch" }
  14. appflowy-integrate = { version = "0.1.0" }
  15. collab = { version = "0.1.0" }
  16. collab-folder = { version = "0.1.0" }
  17. collab-document = { version = "0.1.0" }
  18. flowy-user-deps = { path = "../flowy-user-deps" }
  19. tracing = { version = "0.1", features = ["log"] }
  20. bytes = "1.4"
  21. serde = { version = "1.0", features = ["derive"] }
  22. serde_json = {version = "1.0"}
  23. serde_repr = "0.1"
  24. log = "0.4.17"
  25. protobuf = {version = "2.28.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. once_cell = "1.17.1"
  30. parking_lot = "0.12.1"
  31. strum_macros = "0.21"
  32. tokio = { version = "1.26", features = ["rt"] }
  33. validator = "0.16.0"
  34. unicode-segmentation = "1.10"
  35. fancy-regex = "0.11.0"
  36. uuid = { version = "1.3.3", features = [ "v4"] }
  37. chrono = { version = "0.4.22", default-features = false, features = ["clock"] }
  38. base64 = "^0.21"
  39. [dev-dependencies]
  40. nanoid = "0.4.0"
  41. fake = "2.0.0"
  42. rand = "0.8.4"
  43. quickcheck = "1.0.3"
  44. rand_core = "0.6.2"
  45. quickcheck_macros = "1.0"
  46. [features]
  47. default = ["rev-sqlite"]
  48. rev-sqlite = ["flowy-sqlite"]
  49. dart = ["flowy-codegen/dart", "flowy-notification/dart"]
  50. ts = ["flowy-codegen/ts", "flowy-notification/ts"]
  51. [build-dependencies]
  52. flowy-codegen = { path = "../../../shared-lib/flowy-codegen"}