mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-01 11:13:40 +03:00
chore(deps) Update Tauri Core (#1969)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
parent
954460c520
commit
ac3ddeba26
@ -37,7 +37,7 @@ tokio = { version = "1.6", features = [ "rt", "rt-multi-thread", "sync" ] }
|
||||
futures = "0.3"
|
||||
uuid = { version = "0.8", features = [ "v4" ] }
|
||||
thiserror = "1.0"
|
||||
once_cell = "1.7"
|
||||
once_cell = "1.8"
|
||||
tauri-runtime = { version = "0.1.1", path = "../tauri-runtime" }
|
||||
tauri-macros = { version = "1.0.0-beta.1", path = "../tauri-macros" }
|
||||
tauri-utils = { version = "1.0.0-beta.0", path = "../tauri-utils" }
|
||||
@ -52,7 +52,7 @@ either = "1.6"
|
||||
tar = "0.4"
|
||||
flate2 = "1.0"
|
||||
http = "0.2"
|
||||
state = "0.4"
|
||||
state = "0.5"
|
||||
bincode = "1.3"
|
||||
dirs-next = "2.0"
|
||||
percent-encoding = "2.1"
|
||||
|
@ -42,11 +42,11 @@ impl<'r, 'de: 'r, T: Send + Sync + 'static, P: Params> CommandArg<'de, P> for St
|
||||
}
|
||||
|
||||
/// The Tauri state manager.
|
||||
pub struct StateManager(pub(crate) Container);
|
||||
pub struct StateManager(pub(crate) Container![Send + Sync]);
|
||||
|
||||
impl StateManager {
|
||||
pub(crate) fn new() -> Self {
|
||||
Self(Container::new())
|
||||
Self(<Container![Send + Sync]>::new())
|
||||
}
|
||||
|
||||
pub(crate) fn set<T: Send + Sync + 'static>(&self, state: T) -> bool {
|
||||
|
Loading…
Reference in New Issue
Block a user