[package] name = "pyth2wormhole" version = "0.1.0" description = "Pyth to Wormhole solana on-chain integration" edition = "2018" [lib] crate-type = ["cdylib", "lib"] name = "pyth2wormhole" [features] default = ["wormhole-bridge-solana/no-entrypoint"] client = ["solitaire/client", "solitaire-client", "no-entrypoint"] trace = ["solitaire/trace", "wormhole-bridge-solana/trace"] no-entrypoint = [] wasm = ["no-entrypoint", "wasm-bindgen", "serde", "serde_derive", "serde_json"] [dependencies] wormhole-bridge-solana = {path = "../../bridge/program"} solitaire = { path = "../../solitaire/program" } solitaire-client = { path = "../../solitaire/client", optional = true } rocksalt = { path = "../../solitaire/rocksalt" } solana-program = "=1.9.4" borsh = "=0.9.1" # NOTE: We're following bleeding edge to encounter format changes more easily pyth-client = {git = "https://github.com/pyth-network/pyth-client-rs", branch = "v2"} # Crates needed for easier wasm data passing wasm-bindgen = { version = "0.2.74", features = ["serde-serialize"], optional = true} serde = { version = "1", optional = true} serde_derive = { version = "1", optional = true} serde_json = { version = "1", optional = true}