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:
renovate[bot] 2021-06-15 22:41:18 -03:00 committed by GitHub
parent 954460c520
commit ac3ddeba26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

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

View File

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