Cargo.toml 766 B

12345678910111213141516171819202122232425262728293031323334
  1. [package]
  2. name = "randomx"
  3. version = "1.2.1"
  4. homepage = "https://github.com/tevador/RandomX/"
  5. authors = [
  6. "Dyne.org Foundation <foundation@dyne.org>",
  7. "tevador <tevador@gmail.com>",
  8. "The Monero Project",
  9. "The Tari Project",
  10. ]
  11. license = "BSD-3-Clause"
  12. edition = "2021"
  13. [lib]
  14. crate-type = ["cdylib", "lib"]
  15. [target.'cfg(not(target = "x86_64-unknown-linux-musl"))'.build-dependencies]
  16. bindgen = "0.72"
  17. [target.'cfg(target = "x86_64-unknown-linux-musl")'.build-dependencies]
  18. bindgen = {version = "0.72", default-features = false, features = ["static"]}
  19. [dependencies]
  20. bitflags = "2.10"
  21. libc = "0.2"
  22. [dev-dependencies]
  23. anyhow = "1.0"
  24. blake3 = {version = "1.8.2", features = ["rayon"]}
  25. hex = "0.4"
  26. num-bigint = "0.4.6"
  27. [profile.release]
  28. lto = false