diff --git a/Cargo.lock b/Cargo.lock index 6582b976f554..64ecac495114 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3125,8 +3125,7 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" [[package]] name = "utoipa" version = "5.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fcc29c80c21c31608227e0912b2d7fddba57ad76b606890627ba8ee7964e993" +source = "git+https://github.com/rustyrussell/utoipa.git#26f4908b092a4a746cbec935e05165852ea01289" dependencies = [ "indexmap 2.10.0", "serde", @@ -3137,8 +3136,7 @@ dependencies = [ [[package]] name = "utoipa-gen" version = "5.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d79d08d92ab8af4c5e8a6da20c47ae3f61a0f1dabc1997cdf2d082b757ca08b" +source = "git+https://github.com/rustyrussell/utoipa.git#26f4908b092a4a746cbec935e05165852ea01289" dependencies = [ "proc-macro2", "quote", @@ -3149,8 +3147,7 @@ dependencies = [ [[package]] name = "utoipa-swagger-ui" version = "9.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d047458f1b5b65237c2f6dc6db136945667f40a7668627b3490b9513a3d43a55" +source = "git+https://github.com/rustyrussell/utoipa.git#26f4908b092a4a746cbec935e05165852ea01289" dependencies = [ "axum 0.8.4", "base64 0.22.1", @@ -3168,8 +3165,7 @@ dependencies = [ [[package]] name = "utoipa-swagger-ui-vendored" version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2eebbbfe4093922c2b6734d7c679ebfebd704a0d7e56dfcb0d05818ce28977d" +source = "git+https://github.com/rustyrussell/utoipa.git#26f4908b092a4a746cbec935e05165852ea01289" [[package]] name = "valuable" diff --git a/plugins/rest-plugin/Cargo.toml b/plugins/rest-plugin/Cargo.toml index 32b74a4f0b3d..09b38fae837f 100644 --- a/plugins/rest-plugin/Cargo.toml +++ b/plugins/rest-plugin/Cargo.toml @@ -26,12 +26,12 @@ rcgen = "0.13" hyper = "1" tower= "0.5" tower-http = { version = "0.6", features = ["cors", "set-header"] } -utoipa = { version = "5", features = ['axum_extras'] } +utoipa = { git = "https://github.com/rustyrussell/utoipa.git", features = ['axum_extras'] } log-panics = "2" socketioxide = "0.15" cln-plugin = { version = "0.5", path = "../../plugins" } cln-rpc = { version = "0.5", path = "../../cln-rpc" } -utoipa-swagger-ui = { version = "9.0.0", features = ["vendored", "axum"] } +utoipa-swagger-ui = { git = "https://github.com/rustyrussell/utoipa.git", features = ["vendored", "axum"] } diff --git a/tools/build-release.sh b/tools/build-release.sh index fb6478903039..af21551648e9 100755 --- a/tools/build-release.sh +++ b/tools/build-release.sh @@ -127,6 +127,8 @@ if [ "$WITHOUT_ZIP" = "false" ]; then # submodcheck needs to know if we have lowdown touch config.vars ./configure --reconfigure + # If you don't have lowdown, your zip file will include it: we assume everyone has it now! + grep -q "HAVE_LOWDOWN=1" config.vars || (echo "Please install lowdown" >&2; exit 1) # If it's a completely clean directory, we need submodules! make submodcheck