[package]
name = "pyth-wormhole-attester-sdk"
version = "0.1.2"
authors = ["Wormhole Contributors <contact@certus.one>"]
edition = "2018"
description = "Pyth to Wormhole SDK"

[lib]
crate-type = ["cdylib", "rlib"]

[features]
default = []
solana  = ["solitaire", "solana-program", "pyth-sdk-solana"]

[dependencies]
hex = "0.4.3"
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
pyth-sdk = {version = "0.5.0"}
pyth-sdk-solana = { version = "0.5.0", optional = true }
solitaire = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.14.8", optional = true}
solana-program = { version = "=1.10.31", optional = true }

[dev-dependencies]
solana-program = "=1.10.31"
pyth-sdk-solana = "0.5.0"
