pyth-crosschain/hermes/Cargo.toml

68 lines
3.0 KiB
TOML
Raw Normal View History

[package]
name = "hermes"
version = "0.1.0"
edition = "2021"
[dependencies]
axum = { version = "0.6.9", features = ["json", "ws", "macros"] }
axum-macros = { version = "0.3.4" }
anyhow = { version = "1.0.69" }
base64 = { version = "0.21.0" }
borsh = { version = "0.9.0" }
bs58 = { version = "0.4.0" }
dashmap = { version = "5.4.0" }
der = { version = "0.7.0" }
derive_more = { version = "0.99.17" }
env_logger = { version = "0.10.0" }
2023-05-17 03:18:46 -07:00
futures = { version = "0.3.28" }
hex = { version = "0.4.3" }
rand = { version = "0.8.5" }
reqwest = { version = "0.11.14", features = ["blocking", "json"] }
ring = { version = "0.16.20" }
rusqlite = { version = "0.28.0", features = ["bundled"] }
lazy_static = { version = "1.4.0" }
libc = { version = "0.2.140" }
pyth-sdk = { version = "0.7.0" }
secp256k1 = { version = "0.26.0", features = ["rand", "recovery", "serde"] }
serde = { version = "1.0.152", features = ["derive"] }
serde_arrays = { version = "0.1.0" }
serde_cbor = { version = "0.11.2" }
serde_json = { version = "1.0.93" }
sha256 = { version = "1.1.2" }
structopt = { version = "0.3.26" }
tokio = { version = "1.26.0", features = ["full"] }
typescript-type-def = { version = "0.5.5" }
log = { version = "0.4.17" }
# Parse Wormhole attester price attestations.
2023-05-17 03:18:46 -07:00
pythnet-sdk = { path = "../pythnet/pythnet_sdk/", version = "=1.13.6" }
# Setup LibP2P. Unfortunately the dependencies required by libp2p are shared
# with the dependencies required by solana's geyser plugin. This means that we
# would have to use the same version of libp2p as solana. Luckily we don't need
# to do this yet but it's something to keep in mind.
2023-05-17 03:18:46 -07:00
libp2p = { version = "0.42.2", features = [
"gossipsub",
"identify",
"mplex",
"noise",
"secp256k1",
"websocket",
"yamux",
]}
2023-05-17 03:18:46 -07:00
async-trait = "0.1.68"
solana-client = "=1.15.2"
solana-sdk = "=1.15.2"
solana-account-decoder = "=1.15.2"
moka = { version = "0.11.0", features = ["future"] }
derive_builder = "0.12.0"
byteorder = "1.4.3"
serde_qs = { version = "0.12.0", features = ["axum"] }
2023-05-24 07:06:07 -07:00
serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1"}
wormhole-sdk = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1" }
2023-05-17 03:18:46 -07:00
[patch.crates-io]
2023-05-24 07:06:07 -07:00
serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1" }