Cargo.toml 880 B

123456789101112131415161718192021222324252627282930313233343536
  1. [package]
  2. name = "pyth-lazer-solana-contract"
  3. version = "0.4.2"
  4. edition = "2021"
  5. description = "Pyth Lazer Solana contract and SDK."
  6. license = "Apache-2.0"
  7. repository = "https://github.com/pyth-network/pyth-crosschain"
  8. # Forces recent toolchains to create a lockfile compatible with the current anchor/solana version.
  9. rust-version = "1.75.0"
  10. [lib]
  11. crate-type = ["cdylib", "lib"]
  12. name = "pyth_lazer_solana_contract"
  13. [features]
  14. default = []
  15. cpi = ["no-entrypoint"]
  16. no-entrypoint = []
  17. no-idl = []
  18. no-log-ix-name = []
  19. idl-build = ["anchor-lang/idl-build"]
  20. [dependencies]
  21. pyth-lazer-protocol = { path = "../../../../sdk/rust/protocol", version = "0.9.0" }
  22. anchor-lang = "0.30.1"
  23. bytemuck = "1.20.0"
  24. byteorder = "1.5.0"
  25. thiserror = "2.0.3"
  26. [dev-dependencies]
  27. hex = "0.4.3"
  28. solana-program-test = "1.18.26"
  29. solana-sdk = "1.18.26"
  30. tokio = { version = "1.40.0", features = ["full"] }