mesh-llm: silence dead_code in client-side NIP-98 bearer module

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) <c6237ef84fa537c78dcee78efd2d4e59f728859c7f194da42ac51ededfa0be05@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
tlongwell-block
2026-05-21 08:57:28 -04:00
co-authored by Dawn
parent d1262beb8a
commit 1cc536b03e
+5
View File
@@ -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;