Cargo.toml 587 B

1234567891011121314151617181920
  1. [workspace]
  2. resolver = "2"
  3. members = [
  4. "programs/pyth-lazer-solana-contract",
  5. ]
  6. [profile.release]
  7. overflow-checks = true
  8. lto = "fat"
  9. codegen-units = 1
  10. [profile.release.build-override]
  11. opt-level = 3
  12. incremental = false
  13. codegen-units = 1
  14. # These patches remove upper dependency version limitations,
  15. # allowing successful dependency resolution in the workspace.
  16. [patch.crates-io]
  17. curve25519-dalek = { git = "https://github.com/Riateche/curve25519-dalek.git", branch = "3.2.1-patch" }
  18. aes-gcm-siv = { git = "https://github.com/Riateche/AEADs.git", branch = "aes-gcm-siv-v0.10.3-patch" }