Cargo.toml 1.4 KB

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