diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-05-09 10:34:17 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-05-09 10:35:16 +0300 |
| commit | 99bf2df2b42e99b6593646590468aa7b563de416 (patch) | |
| tree | a084e9ae0a6376017feed6f4e51aab15ef28ab6d /src | |
| parent | 09be90f4e63c312fbb70ba8c743ab0909cb591e2 (diff) | |
| download | niri-99bf2df2b42e99b6593646590468aa7b563de416.tar.gz niri-99bf2df2b42e99b6593646590468aa7b563de416.tar.bz2 niri-99bf2df2b42e99b6593646590468aa7b563de416.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dbus/gnome_shell_introspect.rs | 2 | ||||
| -rw-r--r-- | src/dbus/mutter_screen_cast.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/dbus/gnome_shell_introspect.rs b/src/dbus/gnome_shell_introspect.rs index 5151351b..3d47d1c5 100644 --- a/src/dbus/gnome_shell_introspect.rs +++ b/src/dbus/gnome_shell_introspect.rs @@ -1,3 +1,5 @@ +#![allow(deprecated)] // Maybe De/SerializeDict will be undeprecated in the future. + use std::collections::HashMap; use zbus::fdo::{self, RequestNameFlags}; diff --git a/src/dbus/mutter_screen_cast.rs b/src/dbus/mutter_screen_cast.rs index d7918989..cbd4a71a 100644 --- a/src/dbus/mutter_screen_cast.rs +++ b/src/dbus/mutter_screen_cast.rs @@ -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}; |
