Merge branch 'master' of https://git.cscherr.de/PlexSheep/rs-basic
cargo devel CI / cargo CI (push) Successful in 2m5s
Details
cargo devel CI / cargo CI (push) Successful in 2m5s
Details
This commit is contained in:
commit
a6e7ca5368
|
@ -3,7 +3,7 @@ use std::convert::Infallible;
|
||||||
use libpt::log::info;
|
use libpt::log::info;
|
||||||
use warp::{Filter, Rejection, Reply};
|
use warp::{Filter, Rejection, Reply};
|
||||||
|
|
||||||
use crate::{Item, Store};
|
use crate::Store;
|
||||||
|
|
||||||
pub fn with_store(store: Store) -> impl Filter<Extract = (Store,), Error = Infallible> + Clone {
|
pub fn with_store(store: Store) -> impl Filter<Extract = (Store,), Error = Infallible> + Clone {
|
||||||
warp::any().map(move || store.clone())
|
warp::any().map(move || store.clone())
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
use std::{collections::VecDeque, sync::Arc};
|
use std::{collections::VecDeque, sync::Arc};
|
||||||
use serde::Deserialize;
|
|
||||||
use tokio::sync::Mutex;
|
use tokio::sync::Mutex;
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
|
|
Loading…
Reference in New Issue