Skip to content

Commit

Permalink
Implement send and sync for features.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmedrano committed Jan 15, 2023
1 parent a9bb40f commit 7822761
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
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
name = "livi"
readme = "README.md"
repository = "https://github.com/wmedrano/livi-rs"
version = "0.6.0"
version = "0.6.1"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
3 changes: 3 additions & 0 deletions src/features/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ pub struct Features {
keep_worker_thread_alive: Arc<AtomicBool>,
}

unsafe impl Send for Features {}
unsafe impl Sync for Features {}

impl Features {
/// Get the URIs for all supported features.
pub fn supported_features() -> HashSet<&'static str> {
Expand Down

0 comments on commit 7822761

Please sign in to comment.