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:
7 files changed
+39
-4
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user