From 1cc536b03e94a602e141fc4d85f49a5e4727905b Mon Sep 17 00:00:00 2001 From: tlongwell-block <109685178+tlongwell-block@users.noreply.github.com> Date: Thu, 21 May 2026 08:57:28 -0400 Subject: [PATCH] mesh-llm: silence dead_code in client-side NIP-98 bearer module MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The verifier side of the iroh-relay NIP-98 admission is fully wired and tested in sprout-relay::iroh_relay. The client side (build_nip98_bearer) is reserved for the deferred dial path — it's complete and unit-tested on its own, but has no live caller until upstream mesh-llm PR A lands. Adds a module-level #![allow(dead_code)] with a comment pointing at the deferred-dial dependency, so the workspace stays warning-clean without losing the test coverage on the helper. cargo clippy --workspace -- -D warnings + cargo fmt --check clean. Signed-off-by: Tyler Longwell <109685178+tlongwell-block@users.noreply.github.com> Co-authored-by: Dawn (sprout agent) --- desktop/src-tauri/src/mesh_llm/nip98.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/desktop/src-tauri/src/mesh_llm/nip98.rs b/desktop/src-tauri/src/mesh_llm/nip98.rs index 1e821459a..104913eb7 100644 --- a/desktop/src-tauri/src/mesh_llm/nip98.rs +++ b/desktop/src-tauri/src/mesh_llm/nip98.rs @@ -8,6 +8,11 @@ //! Both sides use the same `sprout_auth::nip98_canonical_url` helper, so //! path-prefix / trailing-slash / localhost-vs-127.0.0.1 drift cannot //! create undebuggable per-connection denials. +//! +//! Reserved for the deferred iroh dial path (upstream mesh-llm PR A); the +//! verifier side in `sprout_relay::iroh_relay` is already wired and tested. +//! Once the dial lands these become call-sites, not dead code. +#![allow(dead_code)] use base64::engine::general_purpose::STANDARD; use base64::Engine;