Cargo.toml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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-define = { 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_macros = "0.21"
  38. tokio = { version = "1.26", features = ["rt"] }
  39. validator = "0.16.0"
  40. unicode-segmentation = "1.10"
  41. fancy-regex = "0.11.0"
  42. uuid = { version = "1.3.3", features = [ "v4"] }
  43. chrono = { version = "0.4.27", default-features = false, features = ["clock"] }
  44. base64 = "^0.21"
  45. [dev-dependencies]
  46. nanoid = "0.4.0"
  47. fake = "2.0.0"
  48. rand = "0.8.4"
  49. quickcheck = "1.0.3"
  50. rand_core = "0.6.2"
  51. quickcheck_macros = "1.0"
  52. [features]
  53. default = ["rev-sqlite"]
  54. rev-sqlite = ["flowy-sqlite"]
  55. dart = ["flowy-codegen/dart", "flowy-notification/dart"]
  56. ts = ["flowy-codegen/ts", "flowy-notification/ts"]
  57. [build-dependencies]
  58. flowy-codegen = { path = "../../../shared-lib/flowy-codegen"}