pyth-crosschain/hermes/Cargo.toml

63 lines
2.9 KiB
TOML

[package]
name = "hermes"
version = "0.1.0"
edition = "2021"
[dependencies]
axum = { version = "0.6.9", features = ["json", "ws", "macros"] }
axum-extra = { version = "0.7.2", features = ["query"] }
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" }
futures = { version = "0.3.26" }
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 VAAs from our own patch. TODO: Replace with released version when wormhole releases it
wormhole-core = { git = "https://github.com/guibescos/wormhole", branch = "reisen/sdk-solana"}
# Parse Wormhole attester price attestations.
pyth-wormhole-attester-sdk = { path = "../wormhole_attester/sdk/rust/", version = "0.1.2" }
# 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.
libp2p = { version = "0.51.1", features = [
"dns",
"gossipsub",
"identify",
"macros",
"mplex",
"noise",
"quic",
"secp256k1",
"tcp",
"tls",
"tokio",
"websocket",
"yamux",
]}