chore: Rust 2024 edition

This commit is contained in:
Vukašin Vojinović 2025-10-05 13:45:37 +02:00 • committed by Michael Murphy
parent 3b86984332
commit c31a46961a
31 changed files with 48 additions and 48 deletions

View file

@ -2,7 +2,7 @@
name = "geoclue2"
description = "zbus-based bindings for GeoClue2 on Linux"
version = "0.1.0"
edition = "2021"
edition = "2024"
license = "MPL-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -10,4 +10,4 @@ license = "MPL-2.0"
[dependencies]
serde.workspace = true
serde_repr = "0.1.18"
zbus.workspace = true
zbus.workspace = true

View file

@ -1,8 +1,7 @@
use serde_repr::{Deserialize_repr, Serialize_repr};
use zbus::{
proxy,
Result, proxy,
zvariant::{ObjectPath, OwnedValue, Type},
Result,
};
#[repr(u32)]