diff --git a/.changes/tauri-runtime-export.md b/.changes/tauri-runtime-export.md new file mode 100644 index 000000000..8de84ca05 --- /dev/null +++ b/.changes/tauri-runtime-export.md @@ -0,0 +1,5 @@ +--- +"tauri": patch +--- + +**Breaking change:** The `tauri_runtime` crate is no longer exported since its API is not stable. diff --git a/core/tauri/src/lib.rs b/core/tauri/src/lib.rs index 78ea60387..e27c3ca5f 100644 --- a/core/tauri/src/lib.rs +++ b/core/tauri/src/lib.rs @@ -153,7 +153,7 @@ mod manager; mod pattern; pub mod plugin; pub mod window; -pub use tauri_runtime as runtime; +use tauri_runtime as runtime; /// The allowlist scopes. pub mod scope; pub mod settings; diff --git a/core/tauri/src/window.rs b/core/tauri/src/window.rs index a3ab4ebb9..016b69fdf 100644 --- a/core/tauri/src/window.rs +++ b/core/tauri/src/window.rs @@ -178,7 +178,7 @@ impl WindowBuilder { /// ```rust,no_run /// use tauri::{ /// utils::config::{Csp, CspDirectiveSources, WindowUrl}, - /// runtime::http::header::HeaderValue, + /// http::header::HeaderValue, /// window::WindowBuilder, /// }; /// use std::collections::HashMap;