Skip to content

Commit

Permalink
src: remove unused commented out code
Browse files Browse the repository at this point in the history
Compression exists with this external middleware, at least for now:
https://github.com/Fishrock123/tide-compress
  • Loading branch information
Fishrock123 authored and jbr committed Jun 27, 2020
1 parent 82b8943 commit e994b2e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ use crate::endpoint::DynEndpoint;
use crate::utils::BoxFuture;
use crate::Request;

// mod compression;
// mod default_headers;

// pub use compression::{Compression, Decompression};
// pub use default_headers::DefaultHeaders;

/// Middleware that wraps around the remaining middleware chain.
pub trait Middleware<State>: 'static + Send + Sync {
/// Asynchronously handle the request, and return a response.
Expand Down

0 comments on commit e994b2e

Please sign in to comment.