refactor(core): do not export tauri_runtime on tauri (#3749)

This commit is contained in:
Lucas Fernandes Nogueira 2022-03-22 11:04:16 -07:00 committed by GitHub
parent 7b24448137
commit 1099a9696e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
"tauri": patch
---
**Breaking change:** The `tauri_runtime` crate is no longer exported since its API is not stable.

View File

@ -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;

View File

@ -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;