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-derive = { path = "../../../shared-lib/flowy-derive" }
  8. flowy-sqlite = { path = "../flowy-sqlite", optional = true }
  9. flowy-error = { path = "../flowy-error", features = ["adaptor_database", "adaptor_dispatch"] }
  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. tracing = { version = "0.1", features = ["log"] }
  18. bytes = "1.4"
  19. serde = { version = "1.0", features = ["derive"] }
  20. serde_json = {version = "1.0"}
  21. serde_repr = "0.1"
  22. log = "0.4.17"
  23. protobuf = {version = "2.28.0"}
  24. lazy_static = "1.4.0"
  25. diesel = {version = "1.4.8", features = ["sqlite"]}
  26. diesel_derives = {version = "1.4.1", features = ["sqlite"]}
  27. once_cell = "1.17.1"
  28. parking_lot = "0.12.1"
  29. strum = "0.21"
  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. [dev-dependencies]
  37. nanoid = "0.4.0"
  38. fake = "2.0.0"
  39. rand = "0.8.4"
  40. quickcheck = "1.0.3"
  41. rand_core = "0.6.2"
  42. quickcheck_macros = "1.0"
  43. [features]
  44. default = ["rev-sqlite"]
  45. rev-sqlite = ["flowy-sqlite"]
  46. dart = ["flowy-codegen/dart", "flowy-notification/dart"]
  47. ts = ["flowy-codegen/ts", "flowy-notification/ts"]
  48. [build-dependencies]
  49. flowy-codegen = { path = "../../../shared-lib/flowy-codegen"}