mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 16:56:33 +00:00
chore(kiosk): silence dead_code warnings on intentionally-held fields
This commit is contained in:
parent
d9c59d9276
commit
093f4947a1
2 changed files with 5 additions and 0 deletions
|
|
@ -52,8 +52,10 @@ pub struct CheckResponse {
|
|||
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub struct UpdateInfo {
|
||||
#[allow(dead_code)] // surfaced for logging / future rollout coordination
|
||||
pub release_id: String,
|
||||
pub version: String,
|
||||
#[allow(dead_code)] // surfaced for logging
|
||||
pub channel: String,
|
||||
pub sha256: String,
|
||||
pub signature: String,
|
||||
|
|
|
|||
|
|
@ -38,6 +38,9 @@ use crate::WorkerMsg;
|
|||
pub struct LocalServerState {
|
||||
pub local_key: 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,
|
||||
/// Channel into the kiosk UI worker so layout-switch requests reach the
|
||||
/// GTK main loop. Wrapped in Mutex<Option<_>> so the state struct stays
|
||||
|
|
|
|||
Loading…
Reference in a new issue