diff --git a/.changes/app-runtime-handle.md b/.changes/app-runtime-handle.md deleted file mode 100644 index c1912d723..000000000 --- a/.changes/app-runtime-handle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Added the `runtime_handle` method on `AppHandle`. diff --git a/.changes/expose-runtime.md b/.changes/expose-runtime.md deleted file mode 100644 index 862fb85ef..000000000 --- a/.changes/expose-runtime.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri": patch ---- - -Re-export the `tauri_runtime` crate as `tauri::runtime`. diff --git a/core/tauri/src/app.rs b/core/tauri/src/app.rs index 8259de2ef..f8258bb73 100644 --- a/core/tauri/src/app.rs +++ b/core/tauri/src/app.rs @@ -275,11 +275,6 @@ impl AppHandle { pub(crate) fn create_proxy(&self) -> R::EventLoopProxy { self.runtime_handle.create_proxy() } - - /// Returns the handle to the application runtime. - pub fn runtime_handle(&self) -> &R::Handle { - &self.runtime_handle - } } /// APIs specific to the wry runtime. diff --git a/core/tauri/src/lib.rs b/core/tauri/src/lib.rs index 3d58f2391..e31e4cc1e 100644 --- a/core/tauri/src/lib.rs +++ b/core/tauri/src/lib.rs @@ -199,7 +199,7 @@ mod manager; mod pattern; pub mod plugin; pub mod window; -pub use tauri_runtime as runtime; +use tauri_runtime as runtime; #[cfg(target_os = "ios")] mod ios; #[cfg(target_os = "android")]