Cargo.toml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [package]
  2. name = "chatbox"
  3. version = "0.0.8-alpha"
  4. authors = ["Your Name <you@example.com>"]
  5. edition = "2021"
  6. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  7. [dependencies]
  8. aes = "0.8.1"
  9. anyhow = "1.0.38"
  10. approx = { version = "0.5.1", optional = true }
  11. cbc = { version = "0.1.2", features = ["alloc", "std"] }
  12. base64 = "0.20.0"
  13. clap = "4.0.26"
  14. lazy_static = "1.4.0"
  15. itertools = "0.10.0"
  16. num-bigint = { version = "0.4.0" }
  17. num-rational = "0.4.0"
  18. num-traits = "0.2.14"
  19. num-integer = "0.1.44"
  20. matches = "0.1.8"
  21. nalgebra = { version = "0.31.0", optional = true, features = ["sparse"] }
  22. rand = "0.8.2"
  23. rand_chacha = "0.3.0"
  24. regex = { version = "1.4.3", default_features = false, features = ["std"] }
  25. serde_yaml = "0.9.14"
  26. sha3 = "0.10.1"
  27. [features]
  28. linalg = ["nalgebra", "approx"]
  29. [dev-dependencies]
  30. quickcheck = "1.0.3"
  31. quickcheck_macros = "1.0.0"
  32. num-bigint = { version = "0.4.0", features = ["quickcheck"] }
  33. [profile.bench]
  34. opt-level = 'z' # Optimize for size.
  35. lto = true # Enable Link Time Optimization
  36. codegen-units = 1 # Reduce number of codegen units to increase optimizations.
  37. debug = true
  38. [profile.release]
  39. opt-level = 'z' # Optimize for size.
  40. lto = true # Enable Link Time Optimization
  41. codegen-units = 1 # Reduce number of codegen units to increase optimizations.
  42. debug = true
  43. panic = 'abort' # Abort on panic
  44. [profile.test]
  45. debug = true
  46. # default = []
  47. # "linalg"]