mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
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:
@@ -1,3 +1,5 @@
|
||||
#![allow(deprecated)] // Maybe De/SerializeDict will be undeprecated in the future.
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
use zbus::fdo::{self, RequestNameFlags};
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user