Cargo.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. serde-aux = "1.0.1"
  24. derive_more = {version = "0.99", features = ["display"]}
  25. protobuf = {version = "2.20.0"}
  26. uuid = { version = "0.8", features = ["serde", "v4"] }
  27. config = { version = "0.10.1", default-features = false, features = ["yaml"] }
  28. flowy-log = { path = "../rust-lib/flowy-log" }
  29. flowy-user = { path = "../rust-lib/flowy-user" }
  30. flowy-net = { path = "../rust-lib/flowy-net", features = ["http"] }
  31. [dependencies.sqlx]
  32. version = "0.5.6"
  33. default-features = false
  34. features = [
  35. "runtime-actix-rustls",
  36. "macros",
  37. "postgres",
  38. "uuid",
  39. "chrono",
  40. "migrate"
  41. ]
  42. [lib]
  43. path = "src/lib.rs"
  44. [[bin]]
  45. name = "backend"
  46. path = "src/main.rs"