Cargo.toml 1.8 KB

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