Cargo.toml 940 B

123456789101112131415161718192021222324252627282930313233343536
  1. [package]
  2. name = "chatrpg-api"
  3. version = "0.1.0"
  4. edition = "2024"
  5. [dependencies]
  6. actix-cors = "0.7.1"
  7. actix-web = "4.13.0"
  8. actix-web-lab = "0.26.0"
  9. argon2 = "0.5.3"
  10. async-stripe = { version = "0.41.0", features = ["runtime-tokio-hyper", "webhook-events"] }
  11. chrono = { version = "0.4.44", features = ["serde"]}
  12. dotenvy = "0.15.7"
  13. futures-util = "0.3.32"
  14. jsonwebtoken = "9"
  15. reqwest = { version = "0.13.4", features = ["json", "form", "stream"] }
  16. serde = { version = "1.0.228", features = ["derive"]}
  17. serde_json = "1.0.150"
  18. sqlx = { version = "0.8.6", features = [
  19. "postgres",
  20. "runtime-tokio",
  21. "tls-native-tls",
  22. "chrono",
  23. "uuid"
  24. ]}
  25. thiserror = "2.0.18"
  26. tokio = { version = "1.52.3", features = ["full"] }
  27. uuid = { version = "1.23.1", features = ["v4", "v7", "serde"]}
  28. validator = { version = "0.20.0", features = ["derive"]}
  29. [profile.release]
  30. opt-level = 3
  31. lto = "fat"
  32. codegen-units = 1
  33. panic = "abort"
  34. strip = "symbols"