Cargo.toml 660 B

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