aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-01-22 21:34:35 +0100
committerMartin Fischer <martin@push-f.com>2021-01-22 21:36:53 +0100
commit4ba2d050bdf1a3c0070f3aa2331c82745611af1f (patch)
tree710b2d96dba397da5d5888f5099402f6271dc9fd /src/lib.rs
parentb886de1afc0b90d7ca27db9d5c7dabddbe3d7ee0 (diff)
completely ditch Sputnik's general Error type
Users also want to short-circuit error types from other crates but they cannot define a From conversion between two foreign types. Sputnik's error type also didn't allow for proper error logging. bump version to 0.2.3
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 391eb2c..0841e0b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,10 +1,8 @@
//! A lightweight layer on top of [Hyper](https://hyper.rs/)
//! to facilitate building web applications.
-pub use error::Error;
pub use mime;
pub use httpdate;
-#[macro_use] pub mod error;
pub mod security;
pub mod request;
pub mod response;