diff --git a/src/wand/macros.rs b/src/wand/macros.rs index cb1de76..aef50f1 100644 --- a/src/wand/macros.rs +++ b/src/wand/macros.rs @@ -97,6 +97,13 @@ macro_rules! wand_common { } } } + + // The wand types should be safe to drop in a different thread + unsafe impl Send for $wand {} + + // Probably shouldn't implement Sync because some methods might not be + // safe to call on the same wand from different threads. + // unsafe impl Sync for $wand {} }; }