async mutex
This commit is contained in:
parent
cef45e43a6
commit
5895bb7d56
3 changed files with 7 additions and 2 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -961,6 +961,7 @@ dependencies = [
|
|||
"reqwest",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"tokio",
|
||||
"web-base",
|
||||
]
|
||||
|
||||
|
@ -1801,12 +1802,13 @@ checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f"
|
|||
[[package]]
|
||||
name = "web-base"
|
||||
version = "0.1.0"
|
||||
source = "git+https://git.hydrar.de/jmarya/web-base#4ac976ed197f9feefa577e02c0f9c810f0623ee2"
|
||||
source = "git+https://git.hydrar.de/jmarya/web-base#0920a1fcbc15c4ec5bbf131103e98e44cb2a0968"
|
||||
dependencies = [
|
||||
"actix-files",
|
||||
"actix-web",
|
||||
"maud",
|
||||
"reqwest",
|
||||
"tokio",
|
||||
"url",
|
||||
"uuid",
|
||||
]
|
||||
|
|
|
@ -17,3 +17,5 @@ serde = {version = "1.0.147", features = ["derive"] }
|
|||
serde_json = "1.0.87"
|
||||
reqwest = "0.11"
|
||||
maud = "0.24.0"
|
||||
tokio = { version = "1", features = ["sync"] }
|
||||
|
||||
|
|
|
@ -3,7 +3,8 @@ mod msg;
|
|||
mod notification;
|
||||
mod pages;
|
||||
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::sync::Arc;
|
||||
use tokio::sync::Mutex;
|
||||
|
||||
use actix_web::*;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue