Cargo.toml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. flowy-log = { path = "../rust-lib/flowy-log" }
  35. flowy-user = { path = "../rust-lib/flowy-user" }
  36. flowy-net = { path = "../rust-lib/flowy-net", features = ["http"] }
  37. [dependencies.sqlx]
  38. version = "0.5.6"
  39. default-features = false
  40. features = [
  41. "runtime-actix-rustls",
  42. "macros",
  43. "postgres",
  44. "uuid",
  45. "chrono",
  46. "migrate",
  47. "offline",
  48. ]
  49. [lib]
  50. path = "src/lib.rs"
  51. [[bin]]
  52. name = "backend"
  53. path = "src/main.rs"
  54. [dev-dependencies]
  55. once_cell = "1.7.2"
  56. actix-rt = "2"
  57. tokio = { version = "1", features = ["macros"] }
  58. linkify = "0.5.0"
  59. flowy-user = { path = "../rust-lib/flowy-user" }