From df1214663d4b446273ebe7f45833604d81d49f04 Mon Sep 17 00:00:00 2001 From: Alexandru Vasile Date: Fri, 26 May 2023 11:57:17 +0300 Subject: [PATCH] Update light client to point to crates.io Signed-off-by: Alexandru Vasile --- Cargo.lock | 44 +++++++++++++++++++++++++++++++++----------- Cargo.toml | 2 +- 2 files changed, 34 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 194c4a82d5..da4141296e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -382,9 +382,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.1" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f1e31e207a6b8fb791a38ea3105e6cb541f55e4d029902d3039a4ad07cc4105" +checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" [[package]] name = "basic-toml" @@ -3191,7 +3191,7 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" dependencies = [ - "base64 0.21.1", + "base64 0.21.2", ] [[package]] @@ -3202,12 +3202,12 @@ checksum = "4f3208ce4d8448b3f3e7d168a73f5e0c43a61e32930de3bceeccedb388b6bf06" [[package]] name = "ruzstd" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a15e661f0f9dac21f3494fe5d23a6338c0ac116a2d22c2b63010acd89467ffe" +checksum = "ac3ffab8f9715a0d455df4bbb9d21e91135aab3cd3ca187af0cd0c3c3f868fdc" dependencies = [ "byteorder", - "thiserror", + "thiserror-core", "twox-hash", ] @@ -3601,14 +3601,15 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "smoldot" -version = "0.6.0" -source = "git+https://github.com/smol-dot/smoldot.git?rev=43b33066b#43b33066bf0f2058c0c39c1cb735d8e8745c8f7f" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b781775aae86ced601ad1eebbfea8a46e45116596692f0b28e7957f98c9d0895" dependencies = [ "arrayvec 0.7.2", "async-lock", "async-std", "atomic", - "base64 0.21.1", + "base64 0.21.2", "bip39", "blake2-rfc", "bs58", @@ -3654,8 +3655,9 @@ dependencies = [ [[package]] name = "smoldot-light" -version = "0.4.0" -source = "git+https://github.com/smol-dot/smoldot.git?rev=43b33066b#43b33066bf0f2058c0c39c1cb735d8e8745c8f7f" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75b550f7c66dfab421e89e75a0d7dd3cb31e633cf655abf151b080f72c191777" dependencies = [ "async-lock", "async-std", @@ -4363,6 +4365,26 @@ dependencies = [ "thiserror-impl", ] +[[package]] +name = "thiserror-core" +version = "1.0.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d97345f6437bb2004cd58819d8a9ef8e36cdd7661c2abc4bbde0a7c40d9f497" +dependencies = [ + "thiserror-core-impl", +] + +[[package]] +name = "thiserror-core-impl" +version = "1.0.38" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10ac1c5050e43014d16b2f94d0d2ce79e65ffdd8b38d8048f9c8f6a8a6da62ac" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "thiserror-impl" version = "1.0.40" diff --git a/Cargo.toml b/Cargo.toml index 1e0340c034..1ae77167ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -73,7 +73,7 @@ wasm-bindgen-test = "0.3.24" which = "4.4.0" # Light client support: -smoldot-light = { git = "https://github.com/smol-dot/smoldot.git", rev = "43b33066b", default-features = false } +smoldot-light = { version = "0.5.0", default-features = false } tokio-stream = "0.1.14" futures-util = "0.3.28"