From f531287bbaae2787d90da2608371f011df394c4d Mon Sep 17 00:00:00 2001 From: cscherrNT Date: Fri, 8 Mar 2024 16:05:58 +0000 Subject: [PATCH] automatic cargo CI changes --- members/rest-queued/src/client.rs | 2 +- members/rest-queued/src/routes.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/members/rest-queued/src/client.rs b/members/rest-queued/src/client.rs index ca634b6..fcdf086 100644 --- a/members/rest-queued/src/client.rs +++ b/members/rest-queued/src/client.rs @@ -1,7 +1,7 @@ use std::{convert::Infallible, fmt::Display, str::FromStr}; use crate::{store::Sequence, Item, Store}; -use rand::{prelude::*, seq::SliceRandom}; +use rand::seq::SliceRandom; use serde::{Deserialize, Serialize}; const ALPHABET: &str = "qwertzuiopasdfghjklyxcvbnmQWERTZUIOPASDFGHJKLYXCVBNM"; diff --git a/members/rest-queued/src/routes.rs b/members/rest-queued/src/routes.rs index f979fe5..31f982c 100644 --- a/members/rest-queued/src/routes.rs +++ b/members/rest-queued/src/routes.rs @@ -2,13 +2,13 @@ use std::{collections::HashMap, convert::Infallible, str::FromStr}; use libpt::log::{debug, error, info}; use warp::{ - filters::{path::param, BoxedFilter}, + filters::BoxedFilter, http::StatusCode, reject::{MissingHeader, Rejection}, reply, Filter, Reply, }; -use crate::{Client, Id, Item, Store, Token, StoreErr}; +use crate::{Client, Id, Store, StoreErr, Token}; pub fn with_store(store: Store) -> impl Filter + Clone { warp::any().map(move || store.clone())