Cargo.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [package]
  2. name = "pyth-cosmwasm"
  3. version = "1.3.0"
  4. authors = ["Wormhole Contributors <contact@certus.one>"]
  5. edition = "2018"
  6. description = "Pyth price receiver"
  7. [lib]
  8. crate-type = ["cdylib", "rlib"]
  9. [features]
  10. # IMPORTANT: if you want to build for injective or osmosis, enable injective default feature for injective
  11. # and osmosis default feature for osmosis
  12. # default=["injective"]
  13. # default=["osmosis"]
  14. backtraces = ["cosmwasm-std/backtraces"]
  15. # use library feature to disable all init/handle/query exports
  16. library = []
  17. injective = ["dep:serde_repr"]
  18. osmosis=["pyth-sdk-cw/osmosis"]
  19. [dependencies]
  20. cosmwasm-std = { version = "1.0.0" }
  21. cosmwasm-storage = { version = "1.0.0" }
  22. schemars = "0.8.1"
  23. serde = { version = "1.0.103", default-features = false, features = ["derive"] }
  24. serde_derive = { version = "1.0.103"}
  25. serde_repr = { version="0.1", optional = true}
  26. terraswap = "2.4.0"
  27. thiserror = { version = "1.0.20" }
  28. sha3 = { version = "0.9.1", default-features = false }
  29. generic-array = { version = "0.14.4" }
  30. hex = "0.4.2"
  31. lazy_static = "1.4.0"
  32. bigint = "4"
  33. pyth-wormhole-attester-sdk = { path = "../../../../wormhole_attester/sdk/rust" }
  34. pyth-sdk = "0.7.0"
  35. byteorder = "1.4.3"
  36. cosmwasm-schema = "1.1.9"
  37. osmosis-std = "0.15.2"
  38. pyth-sdk-cw = { path = "../../sdk/rust" }
  39. pythnet-sdk = { path = "../../../../sdks/pythnet_sdk/rust" }
  40. wormhole-cosmwasm = {git = "https://github.com/wormhole-foundation/wormhole", tag="rust-sdk-2024-01-25"}
  41. [dev-dependencies]
  42. cosmwasm-vm = { version = "1.0.0", default-features = false }
  43. serde_json = "1.0"
  44. pythnet-sdk = { path = "../../../../sdks/pythnet_sdk/rust", features = ["test-utils"] }
  45. serde_wormhole = "0.1.0"
  46. wormhole-vaas-serde = "0.1.0"