if you let AI add Deserialize for everything Serialize you will have to fight this

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
lda
2026-05-03 03:58:04 +07:00
co-authored by Copilot
Verified
parent f5ed1ab8f6
commit 64cf5f9e69
7 changed files with 39 additions and 4 deletions
+2
View File
@@ -16,6 +16,8 @@ pub async fn get_leases_with_neighbor_state() -> Result<Vec<DhcpLeaseWithState>>
let leases = wakey_linux::dhcp::read_dhcp_leases_with_names()
.await
.context("failed to read DHCP leases")?;
// this is only used in the wakey CLI
#[allow(deprecated)]
Ok(wakey_linux::dhcp::enrich_leases_with_nud_state(leases).await)
}