Silence new zvariant De/SerializeDict deprecations

Questionable exercise converting to serde with much more boilerplate, and
breaking compat with older zvariant versions. Plus maybe this will be
undeprecated back.
This commit is contained in:
Ivan Molodetskikh
2025-05-09 10:34:17 +03:00
parent 09be90f4e6
commit 99bf2df2b4
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
#![allow(deprecated)] // Maybe De/SerializeDict will be undeprecated in the future.
use std::collections::HashMap;
use zbus::fdo::{self, RequestNameFlags};
+2
View File
@@ -1,3 +1,5 @@
#![allow(deprecated)] // Maybe De/SerializeDict will be undeprecated in the future.
use std::collections::HashMap;
use std::mem;
use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering};