Skip to content

Commit

Permalink
Mark Settings as Send + Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Mar 26, 2024
1 parent 6fe0cde commit ad1e575
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ pub struct Settings {
dav1d_settings: Dav1dSettings,
}

unsafe impl Send for Settings {}
unsafe impl Sync for Settings {}

impl Default for Settings {
fn default() -> Self {
Self::new()
Expand Down

0 comments on commit ad1e575

Please sign in to comment.