Cargo.toml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. [package]
  2. name = "hermes"
  3. version = "0.1.0"
  4. edition = "2021"
  5. [dependencies]
  6. axum = { version = "0.6.9", features = ["json", "ws", "macros"] }
  7. axum-extra = { version = "0.7.2", features = ["query"] }
  8. axum-macros = { version = "0.3.4" }
  9. anyhow = { version = "1.0.69" }
  10. base64 = { version = "0.21.0" }
  11. borsh = { version = "0.9.0" }
  12. bs58 = { version = "0.4.0" }
  13. dashmap = { version = "5.4.0" }
  14. der = { version = "0.7.0" }
  15. derive_more = { version = "0.99.17" }
  16. env_logger = { version = "0.10.0" }
  17. futures = { version = "0.3.26" }
  18. hex = { version = "0.4.3" }
  19. rand = { version = "0.8.5" }
  20. reqwest = { version = "0.11.14", features = ["blocking", "json"] }
  21. ring = { version = "0.16.20" }
  22. rusqlite = { version = "0.28.0", features = ["bundled"] }
  23. lazy_static = { version = "1.4.0" }
  24. libc = { version = "0.2.140" }
  25. pyth-sdk = { version = "0.7.0" }
  26. secp256k1 = { version = "0.26.0", features = ["rand", "recovery", "serde"] }
  27. serde = { version = "1.0.152", features = ["derive"] }
  28. serde_arrays = { version = "0.1.0" }
  29. serde_cbor = { version = "0.11.2" }
  30. serde_json = { version = "1.0.93" }
  31. sha256 = { version = "1.1.2" }
  32. structopt = { version = "0.3.26" }
  33. tokio = { version = "1.26.0", features = ["full"] }
  34. typescript-type-def = { version = "0.5.5" }
  35. log = { version = "0.4.17" }
  36. # Parse Wormhole VAAs from our own patch. TODO: Replace with released version when wormhole releases it
  37. wormhole-core = { git = "https://github.com/guibescos/wormhole", branch = "reisen/sdk-solana"}
  38. # Parse Wormhole attester price attestations.
  39. pyth-wormhole-attester-sdk = { path = "../wormhole_attester/sdk/rust/", version = "0.1.2" }
  40. # Setup LibP2P. Unfortunately the dependencies required by libp2p are shared
  41. # with the dependencies required by solana's geyser plugin. This means that we
  42. # would have to use the same version of libp2p as solana. Luckily we don't need
  43. # to do this yet but it's something to keep in mind.
  44. libp2p = { version = "0.51.1", features = [
  45. "dns",
  46. "gossipsub",
  47. "identify",
  48. "macros",
  49. "mplex",
  50. "noise",
  51. "quic",
  52. "secp256k1",
  53. "tcp",
  54. "tls",
  55. "tokio",
  56. "websocket",
  57. "yamux",
  58. ]}