瀏覽代碼

fix(tauri-runtime-wry): docs.rs build

Lucas Nogueira 1 年之前
父節點
當前提交
1142289670
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      core/tauri-runtime-wry/Cargo.toml

+ 4 - 0
core/tauri-runtime-wry/Cargo.toml

@@ -12,6 +12,10 @@ license = { workspace = true }
 edition = { workspace = true }
 rust-version = { workspace = true }
 
+[package.metadata.docs.rs]
+rustc-args = [ "--cfg", "docsrs" ]
+rustdoc-args = [ "--cfg", "docsrs" ]
+
 [dependencies]
 wry = { version = "0.42", default-features = false, features = [ "drag-drop", "protocol", "os-webview" ] }
 tao = { version = "0.29", default-features = false, features = [ "rwh_06" ] }