chore(kiosk): silence dead_code warnings on intentionally-held fields

This commit is contained in:
Mitchell R 2026-05-19 04:30:42 +02:00
parent d9c59d9276
commit 093f4947a1
No known key found for this signature in database
2 changed files with 5 additions and 0 deletions

View file

@ -52,8 +52,10 @@ pub struct CheckResponse {
#[derive(Debug, Clone, Deserialize)] #[derive(Debug, Clone, Deserialize)]
pub struct UpdateInfo { pub struct UpdateInfo {
#[allow(dead_code)] // surfaced for logging / future rollout coordination
pub release_id: String, pub release_id: String,
pub version: String, pub version: String,
#[allow(dead_code)] // surfaced for logging
pub channel: String, pub channel: String,
pub sha256: String, pub sha256: String,
pub signature: String, pub signature: String,

View file

@ -38,6 +38,9 @@ use crate::WorkerMsg;
pub struct LocalServerState { pub struct LocalServerState {
pub local_key: String, pub local_key: String,
pub server_url: String, pub server_url: String,
/// Held for future kiosk-auth proxy paths (currently the proxy forwards
/// the caller's own Bearer, so kiosk_key isn't read on hot path).
#[allow(dead_code)]
pub kiosk_key: String, pub kiosk_key: String,
/// Channel into the kiosk UI worker so layout-switch requests reach the /// Channel into the kiosk UI worker so layout-switch requests reach the
/// GTK main loop. Wrapped in Mutex<Option<_>> so the state struct stays /// GTK main loop. Wrapped in Mutex<Option<_>> so the state struct stays