Cargo.toml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. futures = "0.3.15"
  16. bytes = "1"
  17. toml = "0.5.8"
  18. dashmap = "4.0"
  19. log = "0.4.14"
  20. serde_json = "1.0"
  21. serde = { version = "1.0", features = ["derive"] }
  22. serde_repr = "0.1"
  23. derive_more = {version = "0.99", features = ["display"]}
  24. protobuf = {version = "2.20.0"}
  25. uuid = { version = "0.8", features = ["serde", "v4"] }
  26. flowy-log = { path = "../rust-lib/flowy-log" }
  27. flowy-user = { path = "../rust-lib/flowy-user" }
  28. flowy-net = { path = "../rust-lib/flowy-net", features = ["http"] }
  29. [dependencies.sqlx]
  30. version = "0.5.6"
  31. default-features = false
  32. features = [
  33. "runtime-actix-rustls",
  34. "macros",
  35. "postgres",
  36. "uuid",
  37. "chrono",
  38. "migrate"
  39. ]
  40. [lib]
  41. path = "src/lib.rs"
  42. [[bin]]
  43. name = "backend"
  44. path = "src/main.rs"