Cargo.toml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [package]
  2. name = "pyth-near-example"
  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_example"
  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. num-traits = { version = "0.2.15" }
  15. num-derive = { version = "0.3.3" }
  16. pythnet-sdk = { path = "../../../pythnet/pythnet_sdk" }
  17. pyth-near = { path = "../receiver", features = ["library"] }
  18. strum = { version = "0.24.1", features = ["derive"] }
  19. thiserror = { version = "1.0.38" }
  20. wormhole-core = { git = "https://github.com/wormhole-foundation/wormhole", rev = "4ddeca4dbdba50e2cbf6e603242f8c75d9246e2a" }
  21. [patch.crates-io]
  22. serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", rev = "4ddeca4dbdba50e2cbf6e603242f8c75d9246e2a" }
  23. [dev-dependencies]
  24. lazy_static = { version = "1.4.0" }
  25. serde_json = { version = "1.0.91" }
  26. serde = { version = "1.0.152", features = ["derive"] }
  27. tokio = { version = "1.23.0", features = ["full"] }
  28. workspaces = { version = "0.7.0" }
  29. [profile.release]
  30. codegen-units = 1
  31. opt-level = 3
  32. lto = "fat"
  33. debug = false
  34. panic = "abort"
  35. overflow-checks = true