소스 검색

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>
renovate[bot] 3 년 전
부모
커밋
2661af4de4
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/tauri-codegen/Cargo.toml
  2. 4 0
      core/tauri-runtime-wry/src/lib.rs

+ 1 - 1
core/tauri-codegen/Cargo.toml

@@ -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" ] }

+ 4 - 0
core/tauri-runtime-wry/src/lib.rs

@@ -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)]