Cargo.toml 2.0 KB

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