Cargo.toml 932 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. [package]
  2. name = "actix"
  3. version = "0.7.1"
  4. build = "build.rs"
  5. [[bin]]
  6. name = "actix"
  7. path = "src/main.rs"
  8. [[bin]]
  9. name = "actix-raw"
  10. path = "src/main_raw.rs"
  11. [[bin]]
  12. name = "actix-diesel"
  13. path = "src/main_diesel.rs"
  14. [[bin]]
  15. name = "actix-pg"
  16. path = "src/main_pg.rs"
  17. [dependencies]
  18. askama = "0.7"
  19. serde = "1.0"
  20. serde_json = "1.0"
  21. serde_derive = "1.0"
  22. rand = "0.5"
  23. bytes = "0.4"
  24. num_cpus = "1.0"
  25. futures = "0.1"
  26. http = "0.1"
  27. diesel = { version = "1.2", features = ["postgres"] }
  28. url = { version="1.7", features=["query_encoding"] }
  29. actix = "0.7"
  30. actix-web = { version="0.7", default-features = false }
  31. phf = "0.7.22"
  32. tokio-postgres = { git="https://github.com/fafhrd91/rust-postgres.git" }
  33. [patch.crates-io]
  34. tokio-io = { git="https://github.com/tokio-rs/tokio.git" }
  35. tokio-uds = { git="https://github.com/tokio-rs/tokio.git" }
  36. [build-dependencies]
  37. askama = "0.7"
  38. [profile.release]
  39. lto = true
  40. opt-level = 3
  41. codegen-units = 1