Cargo.toml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 = "../flowy-derive" }
  8. flowy-sqlite = { path = "../flowy-sqlite", optional = true }
  9. flowy-error = { path = "../flowy-error", features = ["adaptor_database", "adaptor_dispatch", "adaptor_user"] }
  10. user-model = { path = "../../../shared-lib/user-model" }
  11. lib-infra = { path = "../../../shared-lib/lib-infra" }
  12. flowy-notification = { path = "../flowy-notification" }
  13. lib-dispatch = { path = "../lib-dispatch" }
  14. tracing = { version = "0.1", features = ["log"] }
  15. bytes = "1.4"
  16. serde = { version = "1.0", features = ["derive"] }
  17. serde_json = {version = "1.0"}
  18. log = "0.4.17"
  19. protobuf = {version = "2.28.0"}
  20. lazy_static = "1.4.0"
  21. diesel = {version = "1.4.8", features = ["sqlite"]}
  22. diesel_derives = {version = "1.4.1", features = ["sqlite"]}
  23. once_cell = "1.17.1"
  24. parking_lot = "0.12.1"
  25. strum = "0.21"
  26. strum_macros = "0.21"
  27. tokio = { version = "1.26", features = ["rt"] }
  28. [dev-dependencies]
  29. flowy-test = { path = "../flowy-test" }
  30. nanoid = "0.4.0"
  31. [features]
  32. default = ["rev-sqlite"]
  33. rev-sqlite = ["flowy-sqlite"]
  34. dart = ["flowy-codegen/dart", "flowy-notification/dart"]
  35. ts = ["flowy-codegen/ts", "flowy-notification/ts"]
  36. [build-dependencies]
  37. flowy-codegen = { path = "../flowy-codegen"}