aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
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
+}