Cargo.toml 944 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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.10"
  8. actix-web = "3"
  9. actix-http = "2.2.1"
  10. actix-web-actors = "3"
  11. actix-codec = "0.3"
  12. futures = "0.3.15"
  13. bytes = "0.5"
  14. toml = "0.5.8"
  15. dashmap = "4.0"
  16. log = "0.4.14"
  17. serde_json = "1.0"
  18. serde = { version = "1.0", features = ["derive"] }
  19. serde_repr = "0.1"
  20. derive_more = {version = "0.99", features = ["display"]}
  21. protobuf = {version = "2.20.0"}
  22. flowy-log = { path = "../rust-lib/flowy-log" }
  23. flowy-user = { path = "../rust-lib/flowy-user" }
  24. flowy-net = { path = "../rust-lib/flowy-net", features = ["http"] }
  25. [dependencies.sqlx]
  26. version = "0.5.2"
  27. default-features = false
  28. features = [
  29. "runtime-actix-rustls",
  30. "macros",
  31. "postgres",
  32. "uuid",
  33. "chrono",
  34. "migrate"
  35. ]
  36. [lib]
  37. path = "src/lib.rs"
  38. [[bin]]
  39. name = "backend"
  40. path = "src/main.rs"