Skip to content

Commit

Permalink
refactor(core): do not export tauri_runtime on tauri (#3749)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Mar 22, 2022
1 parent 7b24448 commit 1099a96
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .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.
2 changes: 1 addition & 1 deletion core/tauri/src/lib.rs
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion core/tauri/src/window.rs
Expand Up @@ -178,7 +178,7 @@ impl<R: Runtime> WindowBuilder<R> {
/// ```rust,no_run
/// use tauri::{
/// utils::config::{Csp, CspDirectiveSources, WindowUrl},
/// runtime::http::header::HeaderValue,
/// http::header::HeaderValue,
/// window::WindowBuilder,
/// };
/// use std::collections::HashMap;
Expand Down

0 comments on commit 1099a96

Please sign in to comment.