Cargo.toml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. [package]
  2. name = "hermes"
  3. version = "0.1.1"
  4. edition = "2021"
  5. [dependencies]
  6. axum = { version = "0.6.9", features = ["json", "ws", "macros"] }
  7. axum-macros = { version = "0.3.4" }
  8. anyhow = { version = "1.0.69" }
  9. base64 = { version = "0.21.0" }
  10. borsh = { version = "0.9.0" }
  11. bs58 = { version = "0.4.0" }
  12. dashmap = { version = "5.4.0" }
  13. der = { version = "0.7.0" }
  14. derive_more = { version = "0.99.17" }
  15. env_logger = { version = "0.10.0" }
  16. futures = { version = "0.3.28" }
  17. hex = { version = "0.4.3" }
  18. rand = { version = "0.8.5" }
  19. reqwest = { version = "0.11.14", features = ["blocking", "json"] }
  20. ring = { version = "0.16.20" }
  21. rusqlite = { version = "0.28.0", features = ["bundled"] }
  22. lazy_static = { version = "1.4.0" }
  23. libc = { version = "0.2.140" }
  24. pyth-sdk = { version = "0.7.0" }
  25. secp256k1 = { version = "0.26.0", features = ["rand", "recovery", "serde"] }
  26. serde = { version = "1.0.152", features = ["derive"] }
  27. serde_arrays = { version = "0.1.0" }
  28. serde_cbor = { version = "0.11.2" }
  29. serde_json = { version = "1.0.93" }
  30. sha256 = { version = "1.1.2" }
  31. structopt = { version = "0.3.26" }
  32. tokio = { version = "1.26.0", features = ["full"] }
  33. typescript-type-def = { version = "0.5.5" }
  34. log = { version = "0.4.17" }
  35. # Parse Wormhole attester price attestations.
  36. pythnet-sdk = { path = "../pythnet/pythnet_sdk/", version = "=1.13.6" }
  37. # Setup LibP2P. Unfortunately the dependencies required by libp2p are shared
  38. # with the dependencies required by solana's geyser plugin. This means that we
  39. # would have to use the same version of libp2p as solana. Luckily we don't need
  40. # to do this yet but it's something to keep in mind.
  41. libp2p = { version = "0.42.2", features = [
  42. "gossipsub",
  43. "identify",
  44. "mplex",
  45. "noise",
  46. "secp256k1",
  47. "websocket",
  48. "yamux",
  49. ]}
  50. async-trait = "0.1.68"
  51. # We around bound to this version because of pyth-oracle
  52. solana-client = "=1.13.3"
  53. solana-sdk = "=1.13.3"
  54. solana-account-decoder = "=1.13.3"
  55. moka = { version = "0.11.0", features = ["future"] }
  56. byteorder = "1.4.3"
  57. serde_qs = { version = "0.12.0", features = ["axum"] }
  58. serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1"}
  59. wormhole-sdk = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1" }
  60. pyth-oracle = { git = "https://github.com/pyth-network/pyth-client", rev = "1bdac0d2ee39a5a9f27eb86e4fd01229bd68aa5a" , features = ["library", "strum", "serde"] }
  61. strum = { version = "0.24", features = ["derive"] }
  62. ethabi = { version = "18.0.0", features = ["serde"] }
  63. sha3 = "0.10.4"
  64. humantime = "2.1.0"
  65. [patch.crates-io]
  66. serde_wormhole = { git = "https://github.com/wormhole-foundation/wormhole", tag = "v2.17.1" }
  67. [profile.release]
  68. panic = 'abort'
  69. [profile.dev]
  70. panic = 'abort'