chore(deps) Update Rust crate blake3 to 1.2 (#2859)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
renovate[bot] 2021-11-10 11:12:05 -03:00 committed by GitHub
parent da12927ed6
commit 2661af4de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,7 @@ exclude = [ ".license_template", "CHANGELOG.md", "/target" ]
readme = "README.md"
[dependencies]
blake3 = { version = "1.1", features = [ "rayon" ] }
blake3 = { version = "1.2", features = [ "rayon" ] }
proc-macro2 = "1"
quote = "1"
serde = { version = "1", features = [ "derive" ] }

View File

@ -177,6 +177,7 @@ struct DispatcherMainThreadContext {
}
// the main thread context is only used on the main thread
#[allow(clippy::non_send_fields_in_send_ty)]
unsafe impl Send for DispatcherMainThreadContext {}
impl fmt::Debug for Context {
@ -889,11 +890,13 @@ impl From<FileDropEventWrapper> for FileDropEvent {
#[cfg(target_os = "macos")]
pub struct NSWindow(*mut std::ffi::c_void);
#[cfg(target_os = "macos")]
#[allow(clippy::non_send_fields_in_send_ty)]
unsafe impl Send for NSWindow {}
#[cfg(windows)]
pub struct Hwnd(HWND);
#[cfg(windows)]
#[allow(clippy::non_send_fields_in_send_ty)]
unsafe impl Send for Hwnd {}
#[cfg(any(
@ -911,6 +914,7 @@ pub struct GtkWindow(gtk::ApplicationWindow);
target_os = "netbsd",
target_os = "openbsd"
))]
#[allow(clippy::non_send_fields_in_send_ty)]
unsafe impl Send for GtkWindow {}
#[derive(Debug, Clone)]