From a9cabd93a97406602d070ae45bbc6b1425595d29 Mon Sep 17 00:00:00 2001 From: Fabio Lenherr Date: Wed, 8 Nov 2023 12:39:38 +0100 Subject: [PATCH] feat: Add send and sync to access point --- Cargo.toml | 2 +- src/network/network.rs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b7e69e6..5e1c814 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ReSet-Lib" -version = "0.1.6" +version = "0.1.7" edition = "2021" description = "Data structure library for ReSet" repository = "https://github.com/Xetibo/ReSet-Lib" diff --git a/src/network/network.rs b/src/network/network.rs index bea912e..da65057 100644 --- a/src/network/network.rs +++ b/src/network/network.rs @@ -89,6 +89,9 @@ pub struct AccessPoint { pub dbus_path: Path<'static>, } +unsafe impl Send for AccessPoint {} +unsafe impl Sync for AccessPoint {} + impl Append for AccessPoint { fn append_by_ref(&self, iter: &mut arg::IterAppend) { iter.append_struct(|i| {