Cargo.toml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [package]
  2. name = "pyth-near"
  3. version = "0.1.0"
  4. authors = ["Pyth Data Association"]
  5. edition = "2021"
  6. description = "A Pyth Receiver for Near"
  7. [lib]
  8. name = "pyth"
  9. crate-type = ["cdylib", "lib"]
  10. [dependencies]
  11. byteorder = { version = "1.4.3" }
  12. hex = { version = "0.4.3" }
  13. near-sdk = { version = "4.1.1" }
  14. nom = { version = "7.1.2" }
  15. num-traits = { version = "0.2.15" }
  16. num-derive = { version = "0.3.3" }
  17. pyth-wormhole-attester-sdk = { path = "../../../wormhole_attester/sdk/rust" }
  18. pyth-sdk = { version = "0.7.0" }
  19. serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole" }
  20. strum = { version = "0.24.1", features = ["derive"] }
  21. thiserror = { version = "1.0.38" }
  22. wormhole-core = { git = "https://github.com/wormhole-foundation/wormhole" }
  23. [patch.crates-io]
  24. serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole" }
  25. [dev-dependencies]
  26. lazy_static = { version = "1.4.0" }
  27. serde_json = { version = "1.0.91" }
  28. serde = { version = "1.0.152", features = ["derive"] }
  29. tokio = { version = "1.23.0", features = ["full"] }
  30. serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole" }
  31. workspaces = { version = "0.7.0" }
  32. wormhole-core = { git = "https://github.com/wormhole-foundation/wormhole" }
  33. [profile.release]
  34. codegen-units = 1
  35. opt-level = 3
  36. lto = "fat"
  37. debug = false
  38. panic = "abort"
  39. overflow-checks = true