Cargo.toml 681 B

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