Cargo.toml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. [package]
  2. name = "pyth-cosmwasm"
  3. version = "1.1.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. [dev-dependencies]
  40. cosmwasm-vm = { version = "1.0.0", default-features = false }
  41. serde_json = "1.0"