Cargo.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [package]
  2. name = "spiral-rs"
  3. version = "0.1.0"
  4. edition = "2021"
  5. [features]
  6. server = ["actix-web", "actix-cors", "actix-files", "actix-server", "actix-http", "actix-service", "openssl", "futures", "uuid"]
  7. [[bin]]
  8. name = "server"
  9. required-features = ["server"]
  10. [dependencies]
  11. getrandom = { features = ["js"], version = "0.2.6" }
  12. rand = { version = "0.8.5", features = ["small_rng"] }
  13. reqwest = { version = "0.11", features = ["blocking"] }
  14. serde_json = "1.0"
  15. rayon = "1.5.2"
  16. actix-web = { version = "4.0.1", features = ["openssl"], optional = true }
  17. actix-cors = { version = "0.6.1", optional = true }
  18. actix-files = { version = "0.6.0", optional = true }
  19. actix-server = { version = "2.1.1", optional = true }
  20. actix-http = { version = "3.0.4", optional = true }
  21. actix-service = { version = "2.0.2", optional = true }
  22. openssl = { version = "0.10", features = ["v110"], optional = true }
  23. futures = { version = "0.3", optional = true }
  24. uuid = { version = "1.0.0", features = ["v4"], optional = true }
  25. [dev-dependencies]
  26. criterion = { version = "0.3", features = ["html_reports"] }
  27. pprof = { version = "0.4", features = ["flamegraph", "criterion"] }
  28. [[bench]]
  29. name = "ntt"
  30. harness = false
  31. [[bench]]
  32. name = "server"
  33. harness = false
  34. [[bench]]
  35. name = "poly"
  36. harness = false
  37. [profile.release]
  38. # lto = "fat"
  39. # codegen-units = 1
  40. # panic = "abort"