From ad1e575ad226beb270d827ae9513260d8ff50565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 26 Mar 2024 15:11:32 +0200 Subject: [PATCH] Mark `Settings` as `Send + Sync` --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 85ded80..556b9e7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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()