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;
+1 -1
View File
@@ -547,7 +547,7 @@
//! [tokio]: http://crates.io/crates/tokio
//! [hyper]: http://crates.io/crates/hyper
// #![doc(html_root_url = "https://docs.rs/tower-http/0.1.0")]
#![doc(html_root_url = "https://docs.rs/tower-http/0.1.0")]
#![warn(
clippy::all,
clippy::dbg_macro,