|
|
@@ -380,6 +380,28 @@ dependencies = [
|
|
|
"tower-service",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "axum-extra"
|
|
|
+version = "0.7.2"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "7ea61f9f77592526b73fd14fe0f5938412bda49423f8b9f372ac76a9d6cf0ad2"
|
|
|
+dependencies = [
|
|
|
+ "axum",
|
|
|
+ "bytes",
|
|
|
+ "futures-util",
|
|
|
+ "http",
|
|
|
+ "http-body",
|
|
|
+ "mime",
|
|
|
+ "pin-project-lite 0.2.9",
|
|
|
+ "serde",
|
|
|
+ "serde_html_form",
|
|
|
+ "tokio",
|
|
|
+ "tower",
|
|
|
+ "tower-http",
|
|
|
+ "tower-layer",
|
|
|
+ "tower-service",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "axum-macros"
|
|
|
version = "0.3.4"
|
|
|
@@ -480,12 +502,68 @@ version = "0.2.1"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "borsh"
|
|
|
+version = "0.9.3"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "15bf3650200d8bffa99015595e10f1fbd17de07abbc25bb067da79e769939bfa"
|
|
|
+dependencies = [
|
|
|
+ "borsh-derive",
|
|
|
+ "hashbrown 0.11.2",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "borsh-derive"
|
|
|
+version = "0.9.3"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "6441c552f230375d18e3cc377677914d2ca2b0d36e52129fe15450a2dce46775"
|
|
|
+dependencies = [
|
|
|
+ "borsh-derive-internal",
|
|
|
+ "borsh-schema-derive-internal",
|
|
|
+ "proc-macro-crate 0.1.5",
|
|
|
+ "proc-macro2",
|
|
|
+ "syn",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "borsh-derive-internal"
|
|
|
+version = "0.9.3"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "5449c28a7b352f2d1e592a8a28bf139bc71afb0764a14f3c02500935d8c44065"
|
|
|
+dependencies = [
|
|
|
+ "proc-macro2",
|
|
|
+ "quote",
|
|
|
+ "syn",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "borsh-schema-derive-internal"
|
|
|
+version = "0.9.3"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "cdbd5696d8bfa21d53d9fe39a714a18538bad11492a42d066dbbc395fb1951c0"
|
|
|
+dependencies = [
|
|
|
+ "proc-macro2",
|
|
|
+ "quote",
|
|
|
+ "syn",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "bs58"
|
|
|
version = "0.4.0"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "bstr"
|
|
|
+version = "0.2.17"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
|
|
|
+dependencies = [
|
|
|
+ "lazy_static",
|
|
|
+ "memchr",
|
|
|
+ "regex-automata",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "bumpalo"
|
|
|
version = "3.12.0"
|
|
|
@@ -610,6 +688,12 @@ version = "0.9.2"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "520fbf3c07483f94e3e3ca9d0cfd913d7718ef2483d2cfd91c0d9e91474ab913"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "convert_case"
|
|
|
+version = "0.4.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e"
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "core-foundation"
|
|
|
version = "0.9.3"
|
|
|
@@ -956,6 +1040,19 @@ dependencies = [
|
|
|
"syn",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "derive_more"
|
|
|
+version = "0.99.17"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
|
|
|
+dependencies = [
|
|
|
+ "convert_case",
|
|
|
+ "proc-macro2",
|
|
|
+ "quote",
|
|
|
+ "rustc_version",
|
|
|
+ "syn",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "digest"
|
|
|
version = "0.9.0"
|
|
|
@@ -993,6 +1090,12 @@ version = "1.0.5"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "c00704156a7de8df8da0911424e30c2049957b0a714542a44e05fe693dd85313"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "dyn-clone"
|
|
|
+version = "1.0.11"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "68b0cf012f1230e43cd00ebb729c6bb58707ecfa8ad08b52ef3a4ccd2697fc30"
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "ecdsa"
|
|
|
version = "0.14.8"
|
|
|
@@ -1154,6 +1257,15 @@ version = "0.1.17"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "a214f5bb88731d436478f3ae1f8a277b62124089ba9fb67f4f93fb100ef73c90"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "fixed-hash"
|
|
|
+version = "0.7.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c"
|
|
|
+dependencies = [
|
|
|
+ "static_assertions",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "fixedbitset"
|
|
|
version = "0.4.2"
|
|
|
@@ -1411,6 +1523,15 @@ version = "1.8.2"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "hashbrown"
|
|
|
+version = "0.11.2"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
|
|
|
+dependencies = [
|
|
|
+ "ahash 0.7.6",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "hashbrown"
|
|
|
version = "0.12.3"
|
|
|
@@ -1459,10 +1580,14 @@ version = "0.1.0"
|
|
|
dependencies = [
|
|
|
"anyhow",
|
|
|
"axum",
|
|
|
+ "axum-extra",
|
|
|
"axum-macros",
|
|
|
+ "base64 0.21.0",
|
|
|
+ "borsh",
|
|
|
"bs58",
|
|
|
"dashmap",
|
|
|
"der 0.7.0",
|
|
|
+ "derive_more",
|
|
|
"env_logger",
|
|
|
"futures",
|
|
|
"hex",
|
|
|
@@ -1470,6 +1595,8 @@ dependencies = [
|
|
|
"libc",
|
|
|
"libp2p",
|
|
|
"log",
|
|
|
+ "pyth-sdk 0.7.0",
|
|
|
+ "pyth-wormhole-attester-sdk",
|
|
|
"rand 0.8.5",
|
|
|
"reqwest",
|
|
|
"ring",
|
|
|
@@ -1483,6 +1610,7 @@ dependencies = [
|
|
|
"structopt",
|
|
|
"tokio",
|
|
|
"typescript-type-def",
|
|
|
+ "wormhole-core",
|
|
|
]
|
|
|
|
|
|
[[package]]
|
|
|
@@ -1514,6 +1642,15 @@ name = "hex"
|
|
|
version = "0.4.3"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
|
|
|
+dependencies = [
|
|
|
+ "serde",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "hex-literal"
|
|
|
+version = "0.3.4"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0"
|
|
|
|
|
|
[[package]]
|
|
|
name = "hex_fmt"
|
|
|
@@ -1831,6 +1968,15 @@ dependencies = [
|
|
|
"wasm-bindgen",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "keccak"
|
|
|
+version = "0.1.3"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "3afef3b6eff9ce9d8ff9b3601125eec7f0c8cbac7abd14f355d053fa56c98768"
|
|
|
+dependencies = [
|
|
|
+ "cpufeatures",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "lazy_static"
|
|
|
version = "1.4.0"
|
|
|
@@ -2466,7 +2612,7 @@ version = "0.8.1"
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
checksum = "1d6d4752e6230d8ef7adf7bd5d8c4b1f6561c1014c5ba9a37445ccefe18aa1db"
|
|
|
dependencies = [
|
|
|
- "proc-macro-crate",
|
|
|
+ "proc-macro-crate 1.1.3",
|
|
|
"proc-macro-error",
|
|
|
"proc-macro2",
|
|
|
"quote",
|
|
|
@@ -2972,6 +3118,25 @@ dependencies = [
|
|
|
"syn",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "primitive-types"
|
|
|
+version = "0.11.1"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a"
|
|
|
+dependencies = [
|
|
|
+ "fixed-hash",
|
|
|
+ "uint",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "proc-macro-crate"
|
|
|
+version = "0.1.5"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"
|
|
|
+dependencies = [
|
|
|
+ "toml",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "proc-macro-crate"
|
|
|
version = "1.1.3"
|
|
|
@@ -3093,6 +3258,41 @@ dependencies = [
|
|
|
"prost",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "pyth-sdk"
|
|
|
+version = "0.5.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "f5c805ba3dfb5b7ed6a8ffa62ec38391f485a79c7cf6b3b11d3bd44fb0325824"
|
|
|
+dependencies = [
|
|
|
+ "borsh",
|
|
|
+ "borsh-derive",
|
|
|
+ "hex",
|
|
|
+ "schemars",
|
|
|
+ "serde",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "pyth-sdk"
|
|
|
+version = "0.7.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "00bf2540203ca3c7a5712fdb8b5897534b7f6a0b6e7b0923ff00466c5f9efcb3"
|
|
|
+dependencies = [
|
|
|
+ "borsh",
|
|
|
+ "borsh-derive",
|
|
|
+ "hex",
|
|
|
+ "schemars",
|
|
|
+ "serde",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "pyth-wormhole-attester-sdk"
|
|
|
+version = "0.1.2"
|
|
|
+dependencies = [
|
|
|
+ "hex",
|
|
|
+ "pyth-sdk 0.5.0",
|
|
|
+ "serde",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "quick-error"
|
|
|
version = "1.2.3"
|
|
|
@@ -3275,6 +3475,12 @@ dependencies = [
|
|
|
"regex-syntax",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "regex-automata"
|
|
|
+version = "0.1.10"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "regex-syntax"
|
|
|
version = "0.6.28"
|
|
|
@@ -3512,6 +3718,30 @@ dependencies = [
|
|
|
"windows-sys 0.42.0",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "schemars"
|
|
|
+version = "0.8.12"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "02c613288622e5f0c3fdc5dbd4db1c5fbe752746b1d1a56a0630b78fd00de44f"
|
|
|
+dependencies = [
|
|
|
+ "dyn-clone",
|
|
|
+ "schemars_derive",
|
|
|
+ "serde",
|
|
|
+ "serde_json",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "schemars_derive"
|
|
|
+version = "0.8.12"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "109da1e6b197438deb6db99952990c7f959572794b80ff93707d55a232545e7c"
|
|
|
+dependencies = [
|
|
|
+ "proc-macro2",
|
|
|
+ "quote",
|
|
|
+ "serde_derive_internals",
|
|
|
+ "syn",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "scopeguard"
|
|
|
version = "1.1.0"
|
|
|
@@ -3652,6 +3882,30 @@ dependencies = [
|
|
|
"syn",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "serde_derive_internals"
|
|
|
+version = "0.26.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "85bf8229e7920a9f636479437026331ce11aa132b4dde37d121944a44d6e5f3c"
|
|
|
+dependencies = [
|
|
|
+ "proc-macro2",
|
|
|
+ "quote",
|
|
|
+ "syn",
|
|
|
+]
|
|
|
+
|
|
|
+[[package]]
|
|
|
+name = "serde_html_form"
|
|
|
+version = "0.2.0"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "53192e38d5c88564b924dbe9b60865ecbb71b81d38c4e61c817cffd3e36ef696"
|
|
|
+dependencies = [
|
|
|
+ "form_urlencoded",
|
|
|
+ "indexmap",
|
|
|
+ "itoa",
|
|
|
+ "ryu",
|
|
|
+ "serde",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "serde_json"
|
|
|
version = "1.0.93"
|
|
|
@@ -3742,6 +3996,16 @@ dependencies = [
|
|
|
"sha2 0.9.9",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "sha3"
|
|
|
+version = "0.10.6"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "bdf0c33fae925bdc080598b84bc15c55e7b9a4a43b3c704da051f977469691c9"
|
|
|
+dependencies = [
|
|
|
+ "digest 0.10.6",
|
|
|
+ "keccak",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "signal-hook-registry"
|
|
|
version = "1.4.1"
|
|
|
@@ -4341,6 +4605,18 @@ dependencies = [
|
|
|
"syn",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "uint"
|
|
|
+version = "0.9.5"
|
|
|
+source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
+checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52"
|
|
|
+dependencies = [
|
|
|
+ "byteorder",
|
|
|
+ "crunchy",
|
|
|
+ "hex",
|
|
|
+ "static_assertions",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "unicode-bidi"
|
|
|
version = "0.3.10"
|
|
|
@@ -5025,6 +5301,22 @@ dependencies = [
|
|
|
"winapi",
|
|
|
]
|
|
|
|
|
|
+[[package]]
|
|
|
+name = "wormhole-core"
|
|
|
+version = "0.1.0"
|
|
|
+source = "git+https://github.com/guibescos/wormhole?branch=reisen/sdk-solana#61bb2fb691a8df0aa0e42a21632e43b392ffa90f"
|
|
|
+dependencies = [
|
|
|
+ "borsh",
|
|
|
+ "bstr",
|
|
|
+ "byteorder",
|
|
|
+ "hex",
|
|
|
+ "hex-literal",
|
|
|
+ "nom",
|
|
|
+ "primitive-types",
|
|
|
+ "sha3",
|
|
|
+ "thiserror",
|
|
|
+]
|
|
|
+
|
|
|
[[package]]
|
|
|
name = "x25519-dalek"
|
|
|
version = "1.1.1"
|