Add Send + Sync for VentedError

Signed-off-by: trivernis <trivernis@protonmail.com>
pull/1/head
trivernis 4 years ago
parent 5e603887d2
commit f4462356f6
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,7 +1,7 @@
[package] [package]
name = "vented" name = "vented"
description = "Event driven encrypted tcp communicaton" description = "Event driven encrypted tcp communicaton"
version = "0.11.1" version = "0.11.2"
authors = ["trivernis <trivernis@protonmail.com>"] authors = ["trivernis <trivernis@protonmail.com>"]
edition = "2018" edition = "2018"
readme = "README.md" readme = "README.md"

@ -71,3 +71,6 @@ impl From<crypto_box::aead::Error> for VentedError {
Self::CryptoError(other) Self::CryptoError(other)
} }
} }
unsafe impl Send for VentedError {}
unsafe impl Sync for VentedError {}

Loading…
Cancel
Save