Cargo.toml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. [package]
  2. name = "backend"
  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. actix = "0.12"
  8. #actix-web = "3"
  9. #actix-http = "2.2.1"
  10. #actix-web-actors = "3"
  11. actix-codec = "0.3"
  12. actix-web = "4.0.0-beta.8"
  13. actix-http = "3.0.0-beta.8"
  14. actix-rt = "2"
  15. actix-web-actors = { version = "4.0.0-beta.6" }
  16. actix-identity = "0.4.0-beta.2"
  17. futures = "0.3.15"
  18. bytes = "1"
  19. toml = "0.5.8"
  20. dashmap = "4.0"
  21. log = "0.4.14"
  22. serde_json = "1.0"
  23. serde = { version = "1.0", features = ["derive"] }
  24. serde_repr = "0.1"
  25. serde-aux = "1.0.1"
  26. derive_more = {version = "0.99"}
  27. protobuf = {version = "2.20.0"}
  28. uuid = { version = "0.8", features = ["serde", "v4"] }
  29. config = { version = "0.10.1", default-features = false, features = ["yaml"] }
  30. chrono = { version = "0.4", features = ["serde"] }
  31. anyhow = "1.0.40"
  32. thiserror = "1.0.24"
  33. bcrypt = "0.10"
  34. jsonwebtoken = "7.2"
  35. sql-builder = "3.1.1"
  36. lazy_static = "1.4"
  37. tokio = { version = "1", features = ["full"] }
  38. flowy-log = { path = "../rust-lib/flowy-log" }
  39. flowy-user = { path = "../rust-lib/flowy-user" }
  40. flowy-workspace = { path = "../rust-lib/flowy-workspace" }
  41. flowy-net = { path = "../rust-lib/flowy-net", features = ["http"] }
  42. ormx = { version = "0.7", features = ["postgres"]}
  43. [dependencies.sqlx]
  44. version = "0.5.6"
  45. default-features = false
  46. features = [
  47. "runtime-actix-rustls",
  48. "macros",
  49. "postgres",
  50. "uuid",
  51. "chrono",
  52. "migrate",
  53. "offline",
  54. "any",
  55. ]
  56. [lib]
  57. path = "src/lib.rs"
  58. [[bin]]
  59. name = "backend"
  60. path = "src/main.rs"
  61. [dev-dependencies]
  62. once_cell = "1.7.2"
  63. linkify = "0.5.0"
  64. flowy-user = { path = "../rust-lib/flowy-user" }
  65. flowy-workspace = { path = "../rust-lib/flowy-workspace" }