Cargo.toml 2.0 KB

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