Cargo.toml 1.9 KB

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