瀏覽代碼

feat: re-export `Url` (#8474)

* feat: re-exoprt `Url`

`Url` is used/returned from public API, we should re-export it

* Update .changes/export-url.md
Amr Bashir 1 年之前
父節點
當前提交
6e48837860
共有 2 個文件被更改,包括 7 次插入0 次删除
  1. 5 0
      .changes/export-url.md
  2. 2 0
      core/tauri/src/lib.rs

+ 5 - 0
.changes/export-url.md

@@ -0,0 +1,5 @@
+---
+'tauri': 'patch:feat'
+---
+
+Re-export `Url` type.

+ 2 - 0
core/tauri/src/lib.rs

@@ -176,6 +176,8 @@ pub use error::Error;
 pub use regex;
 pub use tauri_macros::{command, generate_handler};
 
+pub use url::Url;
+
 pub mod api;
 pub(crate) mod app;
 pub mod async_runtime;