From 552a80206a5fb14cb39d315b4238b6ad5e614394 Mon Sep 17 00:00:00 2001 From: Randall Naar Date: Wed, 5 Aug 2026 17:52:06 -0400 Subject: [PATCH] Register error-chain cfg for rustc checking. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 29f355be1..828ebe165 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,9 @@ readme = "README.md" edition = "2018" default-run = "electrs" +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ["cfg(has_error_description_deprecated)"] } + [features] liquid = ["elements"] electrum-discovery = ["electrum-client"]