forge
Explore
Log in

Don't you dare go Hollow

Silence new zvariant De/SerializeDict deprecations

Browse files at this commit

99bf2df2b42e99b6593646590468aa7b563de416Ivan MolodetskikhParent: 09be90f
Questionable exercise converting to serde with much more boilerplate, and
breaking compat with older zvariant versions. Plus maybe this will be
undeprecated back.
src/dbus/gnome_shell_introspect.rsmodified+2 -0
@@ -1,3 +1,5 @@
1+#![allow(deprecated)] // Maybe De/SerializeDict will be undeprecated in the future.
2+
13 use std::collections::HashMap;
24
35 use zbus::fdo::{self, RequestNameFlags};
src/dbus/mutter_screen_cast.rsmodified+2 -0
@@ -1,3 +1,5 @@
1+#![allow(deprecated)] // Maybe De/SerializeDict will be undeprecated in the future.
2+
13 use std::collections::HashMap;
24 use std::mem;
35 use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering};