Cargo.toml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. [package]
  2. name = "hermes"
  3. version = "0.1.7"
  4. edition = "2021"
  5. [dependencies]
  6. anyhow = { version = "1.0.69" }
  7. axum = { version = "0.6.9", features = ["json", "ws", "macros"] }
  8. axum-macros = { version = "0.3.4" }
  9. base64 = { version = "0.21.0" }
  10. borsh = { version = "0.10.3" }
  11. byteorder = { version = "1.4.3" }
  12. dashmap = { version = "5.4.0" }
  13. derive_more = { version = "0.99.17" }
  14. env_logger = { version = "0.10.0" }
  15. futures = { version = "0.3.28" }
  16. hex = { version = "0.4.3" }
  17. humantime = { version = "2.1.0" }
  18. lazy_static = { version = "1.4.0" }
  19. libc = { version = "0.2.140" }
  20. # Setup LibP2P. Unfortunately the dependencies required by libp2p are shared
  21. # with the dependencies required by solana's geyser plugin. This means that we
  22. # would have to use the same version of libp2p as solana. Luckily we don't need
  23. # to do this yet but it's something to keep in mind.
  24. libp2p = { version = "0.42.2", features = [
  25. "gossipsub",
  26. "identify",
  27. "mplex",
  28. "noise",
  29. "secp256k1",
  30. "websocket",
  31. "yamux",
  32. ]}
  33. log = { version = "0.4.17" }
  34. mock_instant = { version = "0.3.1", features = ["sync"] }
  35. prometheus-client = { version = "0.21.1" }
  36. pyth-sdk = { version = "0.8.0" }
  37. # Parse Wormhole attester price attestations.
  38. pythnet-sdk = { path = "../pythnet/pythnet_sdk/", version = "2.0.0", features = ["strum"] }
  39. rand = { version = "0.8.5" }
  40. reqwest = { version = "0.11.14", features = ["blocking", "json"] }
  41. secp256k1 = { version = "0.27.0", features = ["rand", "recovery", "serde"] }
  42. serde = { version = "1.0.152", features = ["derive"] }
  43. serde_json = { version = "1.0.93" }
  44. serde_qs = { version = "0.12.0", features = ["axum"] }
  45. serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1" }
  46. sha3 = { version = "0.10.4" }
  47. # We are bound to this version because of pyth-oracle
  48. solana-client = { version = "=1.13.3" }
  49. solana-sdk = { version = "=1.13.3" }
  50. solana-account-decoder = { version = "=1.13.3" }
  51. structopt = { version = "0.3.26" }
  52. strum = { version = "0.24.1", features = ["derive"] }
  53. tokio = { version = "1.26.0", features = ["full"] }
  54. tower-http = { version = "0.4.0", features = ["cors"] }
  55. utoipa = { version = "3.4.0", features = ["axum_extras"] }
  56. utoipa-swagger-ui = { version = "3.1.4", features = ["axum"] }
  57. wormhole-sdk = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1" }
  58. [patch.crates-io]
  59. serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1" }
  60. [profile.release]
  61. panic = 'abort'
  62. [profile.dev]
  63. panic = 'abort'