diff --git a/Cargo.lock b/Cargo.lock index 23e5c0928..3ff0b62b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4606,8 +4606,7 @@ dependencies = [ [[package]] name = "smoldot" version = "3.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5f01fb8767c90d0c3caf49087b31cd73405929a2df43f8ab6897106769d999a" +source = "git+https://github.com/paritytech/smoldot?branch=main#48b8a9b2fcb31dcdd2a1fa9fae6b1960a6bfd04d" dependencies = [ "ark-bls12-381 0.6.0", "ark-ec 0.6.0", @@ -4703,8 +4702,7 @@ dependencies = [ [[package]] name = "smoldot-light" version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de50f44bdc83371304c89ba60e286f97bb16ae43b9e8bf621160ebdfe52d833f" +source = "git+https://github.com/paritytech/smoldot?branch=main#48b8a9b2fcb31dcdd2a1fa9fae6b1960a6bfd04d" dependencies = [ "async-channel", "async-lock", diff --git a/Cargo.toml b/Cargo.toml index 4a28e8a4d..f03eac62b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,3 +38,9 @@ codegen-units = 16 # Most core edits touch one crate, so reusing the previous compilation is the # largest remaining win on this path. incremental = true + +# `lifecycle_unstable_follow` is on smoldot's main branch and in no published +# release yet, so the light client comes from git until one ships it. +[patch.crates-io] +smoldot = { git = "https://github.com/paritytech/smoldot", branch = "main" } +smoldot-light = { git = "https://github.com/paritytech/smoldot", branch = "main" }