Cargo.toml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. flowy-log = { path = "../rust-lib/flowy-log" }
  26. flowy-user = { path = "../rust-lib/flowy-user" }
  27. flowy-net = { path = "../rust-lib/flowy-net", features = ["http"] }
  28. [dependencies.sqlx]
  29. version = "0.5.6"
  30. default-features = false
  31. features = [
  32. "runtime-actix-rustls",
  33. "macros",
  34. "postgres",
  35. "uuid",
  36. "chrono",
  37. "migrate"
  38. ]
  39. [lib]
  40. path = "src/lib.rs"
  41. [[bin]]
  42. name = "backend"
  43. path = "src/main.rs"