mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +02:00
Misc repo setup (#7)
This commit is contained in:
+2
-2
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user