aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-12-23 07:51:48 +0100
committerMartin Fischer <martin@push-f.com>2021-12-23 23:05:10 +0100
commit460150079f7bbf868c42d0c3c10119a15e9d6b84 (patch)
treea7bea00b74670dad4ee663da7cbbb2a77d658496 /src/lib.rs
parent62fa053b4be22cdedfb4ffeb3045e9fc2d854292 (diff)
format with cargo fmt
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b32957d..2bac891 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -5,23 +5,23 @@
use std::borrow::Cow;
-pub use mime;
pub use httpdate;
+pub use mime;
pub mod request;
pub mod response;
-#[cfg(feature="security")]
+#[cfg(feature = "security")]
#[cfg_attr(docsrs, doc(cfg(feature = "security")))]
pub mod security;
-#[cfg(feature="hyper_body")]
+#[cfg(feature = "hyper_body")]
#[cfg_attr(docsrs, doc(cfg(feature = "hyper_body")))]
pub mod hyper_body;
-#[cfg(not(feature="hyper_body"))]
+#[cfg(not(feature = "hyper_body"))]
use http;
-#[cfg(feature="hyper_body")]
+#[cfg(feature = "hyper_body")]
use hyper::http;
/// HTML escapes the given string.
@@ -52,4 +52,4 @@ pub fn html_escape<'a, S: Into<Cow<'a, str>>>(input: S) -> Cow<'a, str> {
} else {
input
}
-} \ No newline at end of file
+}