Cargo.toml 705 B

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