so this is release 0.1.1

added dev push that make life easier (thanks copilot)
change scripts to use LF instead of crlf (again)
added more Bullshits (also thanks? to copilot)
made a mac -> name cache
rename stuff / move stuff
use an advanced ass parsing that reflects nothing and jus waste compute time.
idk man shi
This commit is contained in:
lda
2025-08-26 22:23:07 +07:00 Unverified
parent 9de286f59b
commit d971a3921c
8 changed files with 59 additions and 43 deletions
-16
View File
@@ -67,22 +67,6 @@ struct DhcpLeasesQueryRaw {
include_state: Option<String>,
}
// #[skip_serializing_none]
// #[derive(Debug, Clone, serde::Serialize)]
// struct DhcpLeaseOut {
// expires_epoch: u64,
// ip: IpAddr,
// #[serde(serialize_with = "serialize_mac")]
// mac: macaddr::MacAddr,
// // #[serde(skip_serializing_if = "Option::is_none")]
// name: Option<String>,
// // extras
// // #[serde(skip_serializing_if = "Option::is_none")]
// nud_state: Option<NUDState>,
// // #[serde(skip_serializing_if = "Option::is_none")]
// rank: Option<u8>,
// }
async fn get_dhcp_leases(Query(raw): Query<DhcpLeasesQueryRaw>) -> impl IntoResponse {
let include_state = raw
.include_state