Misc repo setup (#7)

This commit is contained in:
David Pedersen
2021-06-12 20:18:21 +02:00
committed by GitHub
parent c91dc7ce29
commit 002e3f92b3
13 changed files with 579 additions and 462 deletions
+2 -2
View File
@@ -133,14 +133,14 @@
use crate::{body::Body, response::IntoResponse};
use async_trait::async_trait;
use bytes::Bytes;
use http::{HeaderMap, Method, Request, Response, Uri, Version, header};
use http::{header, HeaderMap, Method, Request, Response, Uri, Version};
use rejection::{
BodyAlreadyExtracted, FailedToBufferBody, InvalidJsonBody, InvalidUrlParam, InvalidUtf8,
LengthRequired, MissingExtension, MissingJsonContentType, MissingRouteParams, PayloadTooLarge,
QueryStringMissing, RequestAlreadyExtracted, UrlParamsAlreadyExtracted,
};
use serde::de::DeserializeOwned;
use std::{collections::HashMap, mem, convert::Infallible, str::FromStr};
use std::{collections::HashMap, convert::Infallible, mem, str::FromStr};
pub mod rejection;