Cargo.toml 1.8 KB

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