Cargo.toml 1.9 KB

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