Skip to content

Commit

Permalink
feat: Add send and sync to access point
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Nov 8, 2023
1 parent f53f009 commit a9cabd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
3 changes: 3 additions & 0 deletions src/network/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| {
Expand Down

0 comments on commit a9cabd9

Please sign in to comment.