2023-03-15 10:18:05 -07:00
|
|
|
[package]
|
2023-09-22 21:21:32 -07:00
|
|
|
name = "hermes"
|
2024-04-10 19:04:27 -07:00
|
|
|
version = "0.5.4"
|
2023-09-22 21:21:32 -07:00
|
|
|
description = "Hermes is an agent that provides Verified Prices from the Pythnet Pyth Oracle."
|
|
|
|
edition = "2021"
|
2023-03-15 10:18:05 -07:00
|
|
|
|
|
|
|
[dependencies]
|
2023-09-02 04:00:17 -07:00
|
|
|
anyhow = { version = "1.0.69" }
|
2023-09-24 05:54:15 -07:00
|
|
|
async-trait = { version = "0.1.73" }
|
2023-09-02 04:00:17 -07:00
|
|
|
axum = { version = "0.6.20", features = ["json", "ws", "macros"] }
|
|
|
|
axum-macros = { version = "0.3.8" }
|
|
|
|
base64 = { version = "0.21.0" }
|
|
|
|
borsh = { version = "0.10.3" }
|
|
|
|
byteorder = { version = "1.4.3" }
|
|
|
|
chrono = { version = "0.4.28" }
|
2023-09-24 05:54:15 -07:00
|
|
|
clap = { version = "4.4.4", features = ["derive", "env", "cargo"] }
|
2023-09-02 04:00:17 -07:00
|
|
|
dashmap = { version = "5.4.0" }
|
|
|
|
derive_more = { version = "0.99.17" }
|
|
|
|
env_logger = { version = "0.10.0" }
|
|
|
|
futures = { version = "0.3.28" }
|
2023-09-23 09:51:58 -07:00
|
|
|
hex = { version = "0.4.3", features = ["serde"] }
|
2023-09-02 04:00:17 -07:00
|
|
|
humantime = { version = "2.1.0" }
|
2023-10-04 13:05:44 -07:00
|
|
|
ipnet = { version = "2.8.0" }
|
|
|
|
governor = { version = "0.6.0" }
|
2023-09-02 04:00:17 -07:00
|
|
|
lazy_static = { version = "1.4.0" }
|
|
|
|
libc = { version = "0.2.140" }
|
|
|
|
log = { version = "0.4.17" }
|
|
|
|
mock_instant = { version = "0.3.1", features = ["sync"] }
|
2023-10-04 13:05:44 -07:00
|
|
|
nonzero_ext = { version = "0.3.0" }
|
2023-10-17 09:52:49 -07:00
|
|
|
prometheus-client = { version = "0.21.2" }
|
2023-09-24 05:54:15 -07:00
|
|
|
prost = { version = "0.12.1" }
|
2023-09-02 04:00:17 -07:00
|
|
|
pyth-sdk = { version = "0.8.0" }
|
2024-02-27 23:17:13 -08:00
|
|
|
pyth-sdk-solana = { version = "0.9.0" }
|
2023-09-02 04:00:17 -07:00
|
|
|
pythnet-sdk = { path = "../pythnet/pythnet_sdk/", version = "2.0.0", features = ["strum"] }
|
|
|
|
rand = { version = "0.8.5" }
|
|
|
|
reqwest = { version = "0.11.14", features = ["blocking", "json"] }
|
|
|
|
secp256k1 = { version = "0.27.0", features = ["rand", "recovery", "serde"] }
|
|
|
|
serde = { version = "1.0.152", features = ["derive"] }
|
|
|
|
serde_json = { version = "1.0.93" }
|
|
|
|
serde_qs = { version = "0.12.0", features = ["axum"] }
|
|
|
|
serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1" }
|
|
|
|
sha3 = { version = "0.10.4" }
|
|
|
|
strum = { version = "0.24.1", features = ["derive"] }
|
|
|
|
tokio = { version = "1.26.0", features = ["full"] }
|
2024-04-10 19:04:27 -07:00
|
|
|
tokio-stream = { version = "0.1.15", features = ["full"] }
|
2023-09-24 05:54:15 -07:00
|
|
|
tonic = { version = "0.10.1", features = ["tls"] }
|
2023-09-02 04:00:17 -07:00
|
|
|
tower-http = { version = "0.4.0", features = ["cors"] }
|
|
|
|
tracing = { version = "0.1.37", features = ["log"] }
|
2023-12-08 06:48:47 -08:00
|
|
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter", "json"] }
|
2023-09-02 04:00:17 -07:00
|
|
|
utoipa = { version = "3.4.0", features = ["axum_extras"] }
|
|
|
|
utoipa-swagger-ui = { version = "3.1.4", features = ["axum"] }
|
|
|
|
wormhole-sdk = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1" }
|
2023-03-30 05:27:02 -07:00
|
|
|
|
2023-08-30 01:36:09 -07:00
|
|
|
# We are bound to this Solana version in order to match pyth-oracle.
|
2024-02-27 23:17:13 -08:00
|
|
|
solana-client = { version = "=1.16.19" }
|
|
|
|
solana-sdk = { version = "=1.16.19" }
|
|
|
|
solana-account-decoder = { version = "=1.16.19" }
|
2023-06-02 06:24:00 -07:00
|
|
|
|
2023-09-24 05:54:15 -07:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
prost-build = { version = "0.12.1" }
|
|
|
|
tonic-build = { version = "0.10.1" }
|
|
|
|
|
|
|
|
|
2023-08-30 01:36:09 -07:00
|
|
|
# Wormhole uses patching to resolve some of its own dependencies. We need to
|
|
|
|
# make sure that we use the same patch instead of simply pointing the original
|
|
|
|
# dependency at git otherwise those relative imports will fail.
|
2023-05-17 03:18:46 -07:00
|
|
|
[patch.crates-io]
|
2023-06-19 08:15:12 -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]
|
2023-06-19 08:15:12 -07:00
|
|
|
panic = 'abort'
|
2023-05-29 09:34:35 -07:00
|
|
|
|
|
|
|
[profile.dev]
|
2023-06-19 08:15:12 -07:00
|
|
|
panic = 'abort'
|