Cargo.toml 1.7 KB

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