diff --git a/Cargo.lock b/Cargo.lock index da4d246c8e..0f15701131 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -52,6 +52,18 @@ dependencies = [ "subtle", ] +[[package]] +name = "ahash" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +dependencies = [ + "cfg-if 1.0.0", + "once_cell", + "version_check", + "zerocopy", +] + [[package]] name = "aho-corasick" version = "1.1.3" @@ -111,9 +123,9 @@ checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" [[package]] name = "anyhow" -version = "1.0.90" +version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37bf3594c4c988a53154954629820791dde498571819ae4ca50ca811e060cc95" +checksum = "4c95c10ba0b00a02636238b814946408b1322d5ac4760326e6fb8ec956d85775" [[package]] name = "arbitrary" @@ -154,7 +166,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.68", "time", ] @@ -170,7 +182,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.68", "time", ] @@ -194,7 +206,7 @@ checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", "synstructure 0.13.1", ] @@ -217,7 +229,7 @@ checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -238,9 +250,15 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "auto_impl" version = "1.2.0" @@ -249,7 +267,7 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -331,7 +349,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.82", + "syn 2.0.87", "which", ] @@ -354,7 +372,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.82", + "syn 2.0.87", "which", ] @@ -852,7 +870,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -913,7 +931,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -935,7 +953,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core 0.20.10", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -951,7 +969,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fab9d9a7e9ff7a4762c5c378deb4158d6aaeaeab86952ecf64221159dcd20809" dependencies = [ "subtle", - "thiserror", + "thiserror 1.0.68", "zeroize", ] @@ -1011,7 +1029,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -1022,7 +1040,7 @@ checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -1066,7 +1084,7 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -1193,8 +1211,8 @@ dependencies = [ "serde", "serde_json", "sha3", - "thiserror", - "uint", + "thiserror 1.0.68", + "uint 0.9.5", ] [[package]] @@ -1206,7 +1224,7 @@ dependencies = [ "crunchy", "fixed-hash", "impl-codec", - "impl-rlp", + "impl-rlp 0.3.0", "impl-serde", "scale-info", "tiny-keccak 2.0.2", @@ -1223,7 +1241,7 @@ dependencies = [ "hash-db 0.15.2", "hash256-std-hasher", "parity-scale-codec", - "rlp", + "rlp 0.5.2", "scale-info", "serde", "sha3", @@ -1241,7 +1259,7 @@ dependencies = [ "hash-db 0.16.0", "hash256-std-hasher", "parity-scale-codec", - "rlp", + "rlp 0.5.2", "scale-info", "serde", "sha3", @@ -1257,11 +1275,11 @@ dependencies = [ "ethbloom", "fixed-hash", "impl-codec", - "impl-rlp", + "impl-rlp 0.3.0", "impl-serde", - "primitive-types", + "primitive-types 0.12.2", "scale-info", - "uint", + "uint 0.9.5", ] [[package]] @@ -1277,8 +1295,8 @@ dependencies = [ "evm-runtime", "log", "parity-scale-codec", - "primitive-types", - "rlp", + "primitive-types 0.12.2", + "rlp 0.5.2", "scale-info", "serde", "sha3", @@ -1290,7 +1308,7 @@ version = "0.39.0" source = "git+https://github.com/oasisprotocol/evm?tag=v0.39.1-oasis#13a30bfc1a10074f3f1676988aeb6ada76c65553" dependencies = [ "parity-scale-codec", - "primitive-types", + "primitive-types 0.12.2", "scale-info", "serde", ] @@ -1303,7 +1321,7 @@ dependencies = [ "environmental", "evm-core", "evm-runtime", - "primitive-types", + "primitive-types 0.12.2", ] [[package]] @@ -1314,7 +1332,7 @@ dependencies = [ "auto_impl", "environmental", "evm-core", - "primitive-types", + "primitive-types 0.12.2", "sha3", ] @@ -1454,7 +1472,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -1565,6 +1583,25 @@ dependencies = [ "subtle", ] +[[package]] +name = "h2" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524e8ac6999421f49a846c2d4411f337e53497d8ec55d67753beffa43c5d9205" +dependencies = [ + "atomic-waker", + "bytes", + "fnv", + "futures-core", + "futures-sink", + "http", + "indexmap 2.6.0", + "slab", + "tokio", + "tokio-util", + "tracing", +] + [[package]] name = "half" version = "1.8.3" @@ -1608,6 +1645,16 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +[[package]] +name = "hashbrown" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +dependencies = [ + "ahash", + "serde", +] + [[package]] name = "hashbrown" version = "0.15.0" @@ -1621,12 +1668,9 @@ dependencies = [ [[package]] name = "heck" -version = "0.3.3" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c" -dependencies = [ - "unicode-segmentation", -] +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hermit-abi" @@ -1708,12 +1752,76 @@ dependencies = [ "itoa", ] +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +dependencies = [ + "bytes", + "futures-util", + "http", + "http-body", + "pin-project-lite", +] + [[package]] name = "httparse" version = "1.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hyper" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbbff0a806a4728c99295b254c8838933b5b082d75e3cb70c8dab21fdfbcfa9a" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", +] + +[[package]] +name = "hyper-util" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +dependencies = [ + "bytes", + "futures-util", + "http", + "http-body", + "hyper", + "pin-project-lite", + "tokio", +] + [[package]] name = "iana-time-zone" version = "0.1.61" @@ -1770,13 +1878,13 @@ dependencies = [ [[package]] name = "impl-num-traits" -version = "0.1.2" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "951641f13f873bff03d4bf19ae8bec531935ac0ac2cc775f84d7edfdcfed3f17" +checksum = "803d15461ab0dcc56706adf266158acbc44ccf719bf7d0af30705f58b90a4b8c" dependencies = [ "integer-sqrt", "num-traits", - "uint", + "uint 0.10.0", ] [[package]] @@ -1785,7 +1893,16 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f28220f89297a075ddc7245cd538076ee98b01f2a9c23a53a4f1105d5a322808" dependencies = [ - "rlp", + "rlp 0.5.2", +] + +[[package]] +name = "impl-rlp" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54ed8ad1f3877f7e775b8cbf30ed1bd3209a95401817f19a0eb4402d13f8cf90" +dependencies = [ + "rlp 0.6.1", ] [[package]] @@ -1826,6 +1943,7 @@ checksum = "707907fe3c25f5424cce2cb7e1cbcafee6bdbe735ca90ef77c29e84591e5b9da" dependencies = [ "equivalent", "hashbrown 0.15.0", + "serde", ] [[package]] @@ -2123,20 +2241,26 @@ dependencies = [ [[package]] name = "mockito" -version = "0.31.1" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80f9fece9bd97ab74339fe19f4bcaf52b76dcc18e5364c7977c1838f76b38de9" +checksum = "09b34bd91b9e5c5b06338d392463e1318d683cf82ec3d3af4014609be6e2108d" dependencies = [ "assert-json-diff", + "bytes", "colored", - "httparse", - "lazy_static", + "futures-util", + "http", + "http-body", + "http-body-util", + "hyper", + "hyper-util", "log", "rand", "regex", "serde_json", "serde_urlencoded", "similar", + "tokio", ] [[package]] @@ -2237,7 +2361,7 @@ checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -2291,7 +2415,7 @@ dependencies = [ "oasis-cbor-derive", "oasis-cbor-value", "serde", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -2325,7 +2449,7 @@ dependencies = [ "oasis-runtime-sdk", "rand_core", "rand_xorshift", - "thiserror", + "thiserror 2.0.0", "wee_alloc", ] @@ -2339,7 +2463,7 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "sha2 0.10.8", - "thiserror", + "thiserror 2.0.0", "x25519-dalek", ] @@ -2352,7 +2476,7 @@ dependencies = [ "proc-macro-crate 3.2.0", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -2371,7 +2495,7 @@ dependencies = [ "hex", "oasis-cbor", "oasis-runtime-sdk", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -2395,7 +2519,7 @@ dependencies = [ "secret-sharing", "sgx-isa", "sp800-185", - "thiserror", + "thiserror 1.0.68", "tiny-keccak 2.0.2", "tokio", "x25519-dalek", @@ -2456,7 +2580,7 @@ dependencies = [ "tendermint-light-client", "tendermint-proto", "tendermint-rpc", - "thiserror", + "thiserror 1.0.68", "tiny-keccak 2.0.2", "tokio", "tokio-retry", @@ -2500,7 +2624,7 @@ dependencies = [ "sha2 0.10.8", "sha3", "slog", - "thiserror", + "thiserror 2.0.0", "tiny-keccak 2.0.2", "tokio", "tokio-retry", @@ -2526,7 +2650,7 @@ dependencies = [ "pretty_assertions", "rand_core", "snap", - "thiserror", + "thiserror 2.0.0", "walrus", "wasm3", "wasmprinter", @@ -2553,18 +2677,18 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "once_cell", - "primitive-types", + "primitive-types 0.13.1", "rand", "rand_core", "ripemd", - "rlp", + "rlp 0.6.1", "serde", "serde_json", "sha2 0.10.8", "sha3", "substrate-bn", - "thiserror", - "uint", + "thiserror 2.0.0", + "uint 0.10.0", "x25519-dalek", ] @@ -2576,7 +2700,7 @@ dependencies = [ "difference", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -2768,7 +2892,7 @@ checksum = "a4502d8515ca9f32f1fb543d987f63d95a14934883db45bdb48060b6b69257f8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -2887,7 +3011,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "910d41a655dac3b764f1ade94821093d3610248694320cd072303a8eedcf221d" dependencies = [ "proc-macro2", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -2907,11 +3031,22 @@ checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", "impl-codec", - "impl-num-traits", - "impl-rlp", + "impl-rlp 0.3.0", "impl-serde", "scale-info", - "uint", + "uint 0.9.5", +] + +[[package]] +name = "primitive-types" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d15600a7d856470b7d278b3fe0e311fe28c2526348549f8ef2ff7db3299c87f5" +dependencies = [ + "fixed-hash", + "impl-num-traits", + "impl-rlp 0.4.0", + "uint 0.10.0", ] [[package]] @@ -2935,9 +3070,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.88" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9" +checksum = "f139b0662de085916d1fb67d2b4169d1addddda1919e696f3252b740b629986e" dependencies = [ "unicode-ident", ] @@ -2962,7 +3097,7 @@ dependencies = [ "itertools 0.13.0", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -3122,6 +3257,16 @@ dependencies = [ "rustc-hex", ] +[[package]] +name = "rlp" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa24e92bb2a83198bb76d661a71df9f7076b8c420b8696e4d3d97d50d94479e3" +dependencies = [ + "bytes", + "rustc-hex", +] + [[package]] name = "rlp-derive" version = "0.1.0" @@ -3228,9 +3373,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.15" +version = "0.23.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fbb44d7acc4e873d613422379f69f237a1b141928c02f6bc6ccfddddc2d7993" +checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e" dependencies = [ "log", "once_cell", @@ -3257,9 +3402,9 @@ dependencies = [ [[package]] name = "rustls-mbedpki-provider" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd4245e05baaa3493865cc15f80e6520c52423936b409a695f57c3f92d1aad71" +checksum = "5fa57cbb88f865fb47158e95a9326134d9726ed01201c28b00ed4a892792fce9" dependencies = [ "chrono", "mbedtls", @@ -3387,7 +3532,7 @@ dependencies = [ "rand_core", "sha3", "subtle", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -3398,9 +3543,9 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.210" +version = "1.0.214" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" +checksum = "f55c3193aca71c12ad7890f1785d2b73e1b9f63a0bbc353c08ef26fe03fc56b5" dependencies = [ "serde_derive", ] @@ -3426,13 +3571,13 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.210" +version = "1.0.214" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" +checksum = "de523f781f095e28fa605cdce0f8307e451cc0fd14e2eb4cd2e98a355b147766" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -3455,7 +3600,7 @@ checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -3737,9 +3882,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.82" +version = "2.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021" +checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d" dependencies = [ "proc-macro2", "quote", @@ -3766,7 +3911,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -3891,7 +4036,7 @@ dependencies = [ "tendermint", "tendermint-config", "tendermint-proto", - "thiserror", + "thiserror 1.0.68", "time", "url", "uuid", @@ -3914,7 +4059,7 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "oasis-runtime-sdk-evm", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -3934,7 +4079,7 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "once_cell", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -3952,7 +4097,7 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "oasis-runtime-sdk-contracts", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -3962,7 +4107,7 @@ dependencies = [ "oasis-cbor", "oasis-runtime-sdk", "oasis-runtime-sdk-evm", - "thiserror", + "thiserror 2.0.0", ] [[package]] @@ -3973,27 +4118,47 @@ dependencies = [ "futures", "oasis-cbor", "oasis-runtime-sdk", - "thiserror", + "thiserror 2.0.0", ] [[package]] name = "thiserror" -version = "1.0.64" +version = "1.0.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02dd99dc800bbb97186339685293e1cc5d9df1f8fae2d0aecd9ff1c77efea892" +dependencies = [ + "thiserror-impl 1.0.68", +] + +[[package]] +name = "thiserror" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15291287e9bff1bc6f9ff3409ed9af665bec7a5fc8ac079ea96be07bca0e2668" +dependencies = [ + "thiserror-impl 2.0.0", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" +checksum = "a7c61ec9a6f64d2793d8a45faba21efbe3ced62a886d44c36a009b2b519b4c7e" dependencies = [ - "thiserror-impl", + "proc-macro2", + "quote", + "syn 2.0.87", ] [[package]] name = "thiserror-impl" -version = "1.0.64" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" +checksum = "22efd00f33f93fa62848a7cab956c3d38c8d43095efda1decfc2b3a5dc0b8972" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -4072,9 +4237,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.40.0" +version = "1.41.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" +checksum = "22cfb5bee7a6a52939ca9224d6ac897bb669134078daa8735560897f69de4d33" dependencies = [ "backtrace", "bytes", @@ -4096,7 +4261,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -4110,6 +4275,19 @@ dependencies = [ "tokio", ] +[[package]] +name = "tokio-util" +version = "0.7.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61e7c3654c13bcd040d4a03abee2c75b1d14a37b423cf5a813ceae1cc903ec6a" +dependencies = [ + "bytes", + "futures-core", + "futures-sink", + "pin-project-lite", + "tokio", +] + [[package]] name = "toml" version = "0.8.19" @@ -4170,6 +4348,9 @@ name = "tracing-core" version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +dependencies = [ + "once_cell", +] [[package]] name = "trie-root" @@ -4187,7 +4368,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1631b201eb031b563d2e85ca18ec8092508e262a3196ce9bd10a67ec87b9f5c" dependencies = [ "hash-db 0.15.2", - "rlp", + "rlp 0.5.2", ] [[package]] @@ -4208,6 +4389,18 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "uint" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "909988d098b2f738727b161a106cfc7cab00c539c2687a8836f8e565976fb53e" +dependencies = [ + "byteorder", + "crunchy", + "hex", + "static_assertions", +] + [[package]] name = "unicode-bidi" version = "0.3.17" @@ -4229,12 +4422,6 @@ dependencies = [ "tinyvec", ] -[[package]] -name = "unicode-segmentation" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" - [[package]] name = "unicode-width" version = "0.1.14" @@ -4280,7 +4467,7 @@ dependencies = [ "serde", "serde_json", "smallvec", - "thiserror", + "thiserror 1.0.68", "utf-8", ] @@ -4335,9 +4522,9 @@ dependencies = [ [[package]] name = "walrus" -version = "0.20.3" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c03529cd0c4400a2449f640d2f27cd1b48c3065226d15e26d98e4429ab0adb7" +checksum = "d68aa3c7b80be75c8458fc087453e5a31a226cfffede2e9b932393b2ea1c624a" dependencies = [ "anyhow", "gimli 0.26.2", @@ -4345,20 +4532,20 @@ dependencies = [ "leb128", "log", "walrus-macro", - "wasm-encoder 0.29.0", - "wasmparser 0.80.2", + "wasm-encoder 0.212.0", + "wasmparser 0.212.0", ] [[package]] name = "walrus-macro" -version = "0.19.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e5bd22c71e77d60140b0bd5be56155a37e5bd14e24f5f87298040d0cc40d7" +checksum = "439ad39ff894c43c9649fa724cdde9a6fc50b855d517ef071a93e5df82fe51d3" dependencies = [ "heck", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.87", ] [[package]] @@ -4389,7 +4576,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", "wasm-bindgen-shared", ] @@ -4411,7 +4598,7 @@ checksum = "26c6ab57572f7a24a4985830b120de1594465e5d500f24afe89e16b4e833ef68" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -4424,9 +4611,9 @@ checksum = "65fc09f10666a9f147042251e0dda9c18f166ff7de300607007e96bdebc1068d" [[package]] name = "wasm-encoder" -version = "0.29.0" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18c41dbd92eaebf3612a39be316540b8377c871cb9bde6b064af962984912881" +checksum = "501940df4418b8929eb6d52f1aade1fdd15a5b86c92453cb696e3c906bd3fc33" dependencies = [ "leb128", ] @@ -4449,7 +4636,7 @@ dependencies = [ "cty", "impl-trait-for-tuples", "rs-libc", - "thiserror", + "thiserror 1.0.68", "wasm3-sys", ] @@ -4466,18 +4653,16 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.80.2" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449167e2832691a1bff24cde28d2804e90e09586a448c8e76984792c44334a6b" - -[[package]] -name = "wasmparser" -version = "0.211.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3189cc8a91f547390e2f043ca3b3e3fe0892f7d581767fd4e4b7f3dc3fe8e561" +checksum = "8d28bc49ba1e5c5b61ffa7a2eace10820443c4b7d1c0b144109261d14570fdf8" dependencies = [ + "ahash", "bitflags 2.6.0", + "hashbrown 0.14.5", "indexmap 2.6.0", + "semver", + "serde", ] [[package]] @@ -4492,13 +4677,13 @@ dependencies = [ [[package]] name = "wasmprinter" -version = "0.211.1" +version = "0.219.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23708dd7a986bd9b12fca26eff525bbc3659a336e947fd9ed9fdf79086825aec" +checksum = "228cdc1f30c27816da225d239ce4231f28941147d34713dee8f1fff7cb330e54" dependencies = [ "anyhow", "termcolor", - "wasmparser 0.211.1", + "wasmparser 0.219.1", ] [[package]] @@ -4806,7 +4991,7 @@ dependencies = [ "nom", "oid-registry 0.6.1", "rusticata-macros", - "thiserror", + "thiserror 1.0.68", "time", ] @@ -4823,7 +5008,7 @@ dependencies = [ "nom", "oid-registry 0.7.1", "rusticata-macros", - "thiserror", + "thiserror 1.0.68", "time", ] @@ -4879,7 +5064,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] [[package]] @@ -4899,5 +5084,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.82", + "syn 2.0.87", ] diff --git a/contract-sdk-macros/Cargo.toml b/contract-sdk-macros/Cargo.toml index 3968c0ba3f..91ec0585ea 100644 --- a/contract-sdk-macros/Cargo.toml +++ b/contract-sdk-macros/Cargo.toml @@ -10,7 +10,7 @@ proc-macro = true [dependencies] darling = "0.20.9" -proc-macro2 = "1.0.85" +proc-macro2 = "1.0.89" quote = "1.0.10" syn = "2.0.66" proc-macro-crate = "3.1.0" diff --git a/contract-sdk/Cargo.toml b/contract-sdk/Cargo.toml index 1d976420ca..a1a9f9cb50 100644 --- a/contract-sdk/Cargo.toml +++ b/contract-sdk/Cargo.toml @@ -12,7 +12,7 @@ oasis-contract-sdk-types = { path = "types" } oasis-contract-sdk-macros = { path = "../contract-sdk-macros", optional = true } # Third party. -thiserror = "1.0.61" +thiserror = "2.0.0" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] oasis-contract-sdk-crypto = { path = "crypto" } diff --git a/contract-sdk/crypto/Cargo.toml b/contract-sdk/crypto/Cargo.toml index 3eb8455874..9531b44093 100644 --- a/contract-sdk/crypto/Cargo.toml +++ b/contract-sdk/crypto/Cargo.toml @@ -12,7 +12,7 @@ oasis-runtime-sdk = { path = "../../runtime-sdk" } # Third party. k256 = "0.13.1" -thiserror = "1.0.61" +thiserror = "2.0.0" x25519-dalek = { version = "2.0.1", features = ["static_secrets"] } sha2 = "0.10.8" hmac = "0.12.1" diff --git a/contract-sdk/types/Cargo.toml b/contract-sdk/types/Cargo.toml index 72ea260aac..03b2a7896c 100644 --- a/contract-sdk/types/Cargo.toml +++ b/contract-sdk/types/Cargo.toml @@ -12,7 +12,7 @@ oasis-runtime-sdk = { path = "../../runtime-sdk", optional = true } # Third party. bech32 = "0.11.0" -thiserror = "1.0.61" +thiserror = "2.0.0" [dev-dependencies] hex = "0.4.2" diff --git a/rofl-utils/Cargo.toml b/rofl-utils/Cargo.toml index f2bf0d94f0..bfeac97a57 100644 --- a/rofl-utils/Cargo.toml +++ b/rofl-utils/Cargo.toml @@ -7,13 +7,13 @@ license = "Apache-2.0" [dependencies] der = { version = "0.7.9", default-features = false, features = ["pem", "std"] } -rustls = { version = "0.23.11", default-features = false, features = ["logging", "std", "tls12"] } +rustls = { version = "0.23.16", default-features = false, features = ["logging", "std", "tls12"] } rustls-mbedcrypto-provider = { version = "0.1.0" } -rustls-mbedpki-provider = { version = "0.1.0" } +rustls-mbedpki-provider = { version = "0.2.0" } rustls-pki-types = { version = "1.7.0", default-features = false, features = ["std"] } # TODO: Change to released version once 3.x is published. ureq = { git = "https://github.com/algesten/ureq", rev = "e4e7e4e51209d8a14c741ad46991cd83e1a18379", default-features = false, features = ["gzip", "brotli", "charset", "json"] } webpki-root-certs = "0.26.4" [dev-dependencies] -mockito = "0.31.0" +mockito = "1.5.0" diff --git a/runtime-sdk-macros/Cargo.toml b/runtime-sdk-macros/Cargo.toml index 3d94ebddc2..26d0ff5d4d 100644 --- a/runtime-sdk-macros/Cargo.toml +++ b/runtime-sdk-macros/Cargo.toml @@ -10,7 +10,7 @@ proc-macro = true [dependencies] darling = "0.20.9" -proc-macro2 = "1.0.85" +proc-macro2 = "1.0.89" quote = "1.0.10" syn = "2.0.66" diff --git a/runtime-sdk/Cargo.toml b/runtime-sdk/Cargo.toml index 264ecbb675..0629906937 100644 --- a/runtime-sdk/Cargo.toml +++ b/runtime-sdk/Cargo.toml @@ -26,9 +26,9 @@ p256 = "0.13.2" p384 = { version = "0.13.0", default-features = false, features = ["std", "ecdsa"] } schnorrkel = "0.11.2" merlin = "3.0.0" -thiserror = "1.0.61" +thiserror = "2.0.0" hex = "0.4.2" -anyhow = "1.0.86" +anyhow = "1.0.93" bech32 = "0.11.0" num-traits = "0.2.14" impl-trait-for-tuples = "0.2.1" @@ -38,7 +38,7 @@ rand = "0.8.5" rand_core = { version = "0.6.4", default-features = false } slog = "2.7.0" tiny-keccak = { version = "2.0", features = ["tuple_hash"] } -tokio = { version = "1.38", features = ["rt", "rt-multi-thread", "sync", "time", "macros"] } +tokio = { version = "1.41", features = ["rt", "rt-multi-thread", "sync", "time", "macros"] } tokio-retry = "0.3.0" zeroize = "1.8" lru = "0.12.3" diff --git a/runtime-sdk/modules/contracts/Cargo.toml b/runtime-sdk/modules/contracts/Cargo.toml index b5b87cbe84..699e67f7d8 100644 --- a/runtime-sdk/modules/contracts/Cargo.toml +++ b/runtime-sdk/modules/contracts/Cargo.toml @@ -23,14 +23,14 @@ num-traits = "0.2.14" once_cell = "1.8.0" rand_core = { version = "0.6.4", default-features = false } snap = "1" -thiserror = "1.0" -walrus = "0.20.3" +thiserror = "2.0" +walrus = "0.22.0" [dev-dependencies] wat = "1.211" k256 = "0.13.1" hex = "0.4.2" -wasmprinter = "0.211.1" +wasmprinter = "0.219.1" pretty_assertions = "1.3.0" [features] diff --git a/runtime-sdk/modules/evm/Cargo.toml b/runtime-sdk/modules/evm/Cargo.toml index 742184ee11..61242ab01b 100644 --- a/runtime-sdk/modules/evm/Cargo.toml +++ b/runtime-sdk/modules/evm/Cargo.toml @@ -14,7 +14,7 @@ oasis-runtime-sdk = { path = "../.." } anyhow = "1.0" base64 = "0.22.1" blake3 = { version = "~1.5.1", features = ["traits-preview"] } -thiserror = "1.0" +thiserror = "2.0" hex = "0.4.2" sha2 = "0.10.8" substrate-bn = "0.6.0" @@ -32,20 +32,20 @@ ethabi = { version = "18.0.0", default-features = false, features = ["std"] } ethereum = "0.15" evm = { git = "https://github.com/oasisprotocol/evm", tag = "v0.39.1-oasis" } fixed-hash = "0.8.0" -primitive-types = { version = "0.12", default-features = false, features = ["rlp", "num-traits"] } -rlp = "0.5.2" -uint = "0.9.1" +primitive-types = { version = "0.13", default-features = false, features = ["rlp", "num-traits"] } +rlp = "0.6.1" +uint = "0.10.0" # Fuzzing. honggfuzz = "0.5.56" -serde = { version = "1.0.203", features = ["derive"], optional = true } +serde = { version = "1.0.214", features = ["derive"], optional = true } serde_json = { version = "1.0.116", features = ["raw_value"], optional = true } [dev-dependencies] criterion = "0.5.1" oasis-runtime-sdk = { path = "../..", features = ["test"] } rand = "0.8.5" -serde = { version = "1.0.203", features = ["derive"] } +serde = { version = "1.0.214", features = ["derive"] } serde_json = { version = "1.0.116", features = ["raw_value"] } ethabi = { version = "18.0.0", default-features = false, features = ["std", "full-serde"] } diff --git a/tests/runtimes/benchmarking/Cargo.toml b/tests/runtimes/benchmarking/Cargo.toml index b1efaf8a17..bd9858ac12 100644 --- a/tests/runtimes/benchmarking/Cargo.toml +++ b/tests/runtimes/benchmarking/Cargo.toml @@ -11,4 +11,4 @@ oasis-runtime-sdk-evm = { path = "../../../runtime-sdk/modules/evm" } cbor = { version = "0.5.1", package = "oasis-cbor" } # Third party. -thiserror = "1.0" +thiserror = "2.0" diff --git a/tests/runtimes/components-ronl/Cargo.toml b/tests/runtimes/components-ronl/Cargo.toml index f148a7e70f..d0e1f898b6 100644 --- a/tests/runtimes/components-ronl/Cargo.toml +++ b/tests/runtimes/components-ronl/Cargo.toml @@ -11,7 +11,7 @@ oasis-runtime-sdk = { path = "../../../runtime-sdk" } # Third party. once_cell = "1.8.0" -thiserror = "1.0" +thiserror = "2.0" [features] # Enables mock SGX in non-SGX builds. diff --git a/tests/runtimes/simple-contracts/Cargo.toml b/tests/runtimes/simple-contracts/Cargo.toml index 47119befa1..d962445da5 100644 --- a/tests/runtimes/simple-contracts/Cargo.toml +++ b/tests/runtimes/simple-contracts/Cargo.toml @@ -11,7 +11,7 @@ oasis-runtime-sdk = { path = "../../../runtime-sdk" } oasis-runtime-sdk-contracts = { path = "../../../runtime-sdk/modules/contracts" } # Third party. -thiserror = "1.0" +thiserror = "2.0" [features] # Enables mock SGX in non-SGX builds. diff --git a/tests/runtimes/simple-evm/Cargo.toml b/tests/runtimes/simple-evm/Cargo.toml index 52c6233dc3..a94cfeef02 100644 --- a/tests/runtimes/simple-evm/Cargo.toml +++ b/tests/runtimes/simple-evm/Cargo.toml @@ -11,7 +11,7 @@ oasis-runtime-sdk = { path = "../../../runtime-sdk" } oasis-runtime-sdk-evm = { path = "../../../runtime-sdk/modules/evm" } # Third party. -thiserror = "1.0" +thiserror = "2.0" [features] confidential = [] diff --git a/tests/runtimes/simple-keyvalue/Cargo.toml b/tests/runtimes/simple-keyvalue/Cargo.toml index 94590c6f62..eece93986a 100644 --- a/tests/runtimes/simple-keyvalue/Cargo.toml +++ b/tests/runtimes/simple-keyvalue/Cargo.toml @@ -10,8 +10,8 @@ oasis-runtime-sdk = { path = "../../../runtime-sdk" } cbor = { version = "0.5.1", package = "oasis-cbor" } # Third party. -anyhow = "1.0.86" -thiserror = "1.0" +anyhow = "1.0.93" +thiserror = "2.0" futures = "0.3.18" [features]