Cargo.toml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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-user-data-model = { path = "../../../shared-lib/flowy-user-data-model" }
  8. flowy-derive = { path = "../../../shared-lib/flowy-derive" }
  9. lib-infra = { path = "../../../shared-lib/lib-infra" }
  10. derive_more = {version = "0.99", features = ["display"]}
  11. flowy-database = { path = "../flowy-database" }
  12. dart-notify = { path = "../dart-notify" }
  13. lib-dispatch = { path = "../lib-dispatch" }
  14. flowy-error = { path = "../flowy-error", features = ["db", "http_server"] }
  15. lib-sqlite = { path = "../lib-sqlite" }
  16. tracing = { version = "0.1", features = ["log"] }
  17. bytes = "1.0"
  18. serde = { version = "1.0", features = ["derive"] }
  19. serde_json = {version = "1.0"}
  20. log = "0.4.14"
  21. protobuf = {version = "2.18.0"}
  22. lazy_static = "1.4.0"
  23. diesel = {version = "1.4.8", features = ["sqlite"]}
  24. diesel_derives = {version = "1.4.1", features = ["sqlite"]}
  25. thread_local = "1.1.3"
  26. thread-id = "3.3.0"
  27. once_cell = "1.7.2"
  28. parking_lot = "0.11"
  29. strum = "0.21"
  30. strum_macros = "0.21"
  31. tokio = { version = "1", features = ["rt"] }
  32. pin-project = "1.0.0"
  33. futures-core = { version = "0.3", default-features = false }
  34. r2d2 = "0.8.9"
  35. dashmap = "4.0"
  36. [dev-dependencies]
  37. flowy-test = { path = "../flowy-test" }
  38. futures = "0.3.15"
  39. serial_test = "0.5.1"
  40. [features]
  41. http_server = []
  42. dart = ["lib-infra/dart"]
  43. [build-dependencies]
  44. lib-infra = { path = "../../../shared-lib/lib-infra", features = ["pb_gen"] }