2023-03-15 10:18:05 -07:00
|
|
|
[package]
|
2023-03-21 07:36:13 -07:00
|
|
|
name = "hermes"
|
2023-03-15 10:18:05 -07:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
2023-04-18 08:20:11 -07:00
|
|
|
axum = { version = "0.6.9", features = ["json", "ws", "macros"] }
|
2023-03-15 10:18:05 -07:00
|
|
|
axum-macros = { version = "0.3.4" }
|
|
|
|
anyhow = { version = "1.0.69" }
|
2023-04-18 08:20:11 -07:00
|
|
|
base64 = { version = "0.21.0" }
|
2023-03-30 05:27:02 -07:00
|
|
|
borsh = { version = "0.9.0" }
|
2023-03-15 10:18:05 -07:00
|
|
|
bs58 = { version = "0.4.0" }
|
|
|
|
dashmap = { version = "5.4.0" }
|
|
|
|
der = { version = "0.7.0" }
|
2023-04-18 08:20:11 -07:00
|
|
|
derive_more = { version = "0.99.17" }
|
2023-03-15 10:18:05 -07:00
|
|
|
env_logger = { version = "0.10.0" }
|
2023-05-17 03:18:46 -07:00
|
|
|
futures = { version = "0.3.28" }
|
2023-03-15 10:18:05 -07:00
|
|
|
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" }
|
2023-03-30 05:27:02 -07:00
|
|
|
pyth-sdk = { version = "0.7.0" }
|
2023-03-15 10:18:05 -07:00
|
|
|
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" }
|
2023-04-18 08:20:11 -07:00
|
|
|
serde_json = { version = "1.0.93" }
|
2023-03-15 10:18:05 -07:00
|
|
|
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" }
|
|
|
|
|
2023-03-30 05:27:02 -07:00
|
|
|
# Parse Wormhole attester price attestations.
|
2023-05-17 03:18:46 -07:00
|
|
|
pythnet-sdk = { path = "../pythnet/pythnet_sdk/", version = "=1.13.6" }
|
2023-03-30 05:27:02 -07:00
|
|
|
|
2023-03-15 10:18:05 -07:00
|
|
|
# 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 = [
|
2023-03-15 10:18:05 -07:00
|
|
|
"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-06-02 06:24:00 -07:00
|
|
|
|
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"] }
|
2023-05-25 08:07:48 -07:00
|
|
|
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'
|