Cargo.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. [package]
  2. name = "spiral-spir"
  3. version = "0.1.0"
  4. authors = ["Ian Goldberg <iang@uwaterloo.ca>"]
  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"
  9. # curve25519-dalek needs this older version of rand
  10. rand07 = { package = "rand", version = "0.7" }
  11. # but Spiral needs this newer version
  12. rand = "0.8"
  13. curve25519-dalek = { package = "curve25519-dalek-ng", version = "3", default-features = false, features = ["serde", "std"] }
  14. lazy_static = "1"
  15. sha2 = "0.9"
  16. subtle = { package = "subtle-ng", version = "2.4" }
  17. spiral-rs = { git = "https://github.com/menonsamir/spiral-rs/", rev = "176e396d" }
  18. rayon = "1.5"
  19. bincode = "1"
  20. serde = "1"
  21. serde_with = "2"
  22. rand_chacha = "0.3"
  23. [lib]
  24. crate_type = ["lib", "staticlib"]
  25. path = "src/lib.rs"
  26. [[bin]]
  27. name = "spiral-spir"
  28. path = "src/main.rs"
  29. [features]
  30. default = ["u64_backend"]
  31. u32_backend = ["curve25519-dalek/u32_backend"]
  32. u64_backend = ["curve25519-dalek/u64_backend"]
  33. simd_backend = ["curve25519-dalek/simd_backend"]