pyth-crosschain/hermes/Cargo.toml

83 lines
3.4 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"
2023-05-26 11:21:18 -07:00
# We around bound to this version because of pyth-oracle
solana-client = "=1.13.3"
solana-sdk = "=1.13.3"
solana-account-decoder = "=1.13.3"
2023-05-17 03:18:46 -07:00
moka = { version = "0.11.0", features = ["future"] }
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-06-05 05:36:42 -07:00
pyth-oracle = { git = "https://github.com/pyth-network/pyth-client", rev = "1bdac0d2ee39a5a9f27eb86e4fd01229bd68aa5a" , features = ["library", "strum", "serde"] }
2023-05-26 11:21:18 -07:00
strum = { version = "0.24", features = ["derive"] }
2023-05-29 09:34:35 -07:00
ethabi = { version = "18.0.0", features = ["serde"] }
sha3 = "0.10.4"
humantime = "2.1.0"
2023-05-24 07:06:07 -07:00
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" }
2023-05-29 09:34:35 -07:00
[profile.release]
panic = 'abort'
[profile.dev]
panic = 'abort'