Merge branch 'master' of https://git.cscherr.de/PlexSheep/rs-basic
cargo devel CI / cargo CI (push) Successful in 2m5s Details

This commit is contained in:
Christoph J. Scherr 2024-03-08 17:03:52 +01:00
commit a6e7ca5368
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
2 changed files with 2 additions and 2 deletions

View File

@ -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())

View File

@ -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)]