Skip to content

Commit

Permalink
refactor: [#229] remove Warp HTTP Tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Mar 10, 2023
1 parent 9b2269b commit 467d43f
Show file tree
Hide file tree
Showing 20 changed files with 9 additions and 2,423 deletions.
2 changes: 1 addition & 1 deletion src/apis/responses.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ pub fn failed_to_reload_keys_response<E: Error>(e: E) -> Response {
unhandled_rejection_response(format!("failed to reload keys: {e}"))
}

/// This error response is to keep backward compatibility with the old Warp API.
/// This error response is to keep backward compatibility with the old API.
/// It should be a plain text or json.
#[must_use]
pub fn unhandled_rejection_response(reason: String) -> Response {
Expand Down
2 changes: 0 additions & 2 deletions src/http/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ use serde::{Deserialize, Serialize};
pub mod axum_implementation;
pub mod percent_encoding;
pub mod server;
pub mod warp_implementation;

#[derive(Serialize, Deserialize, Copy, Clone, PartialEq, Eq, Debug)]
pub enum Version {
Warp,
Axum,
}
39 changes: 0 additions & 39 deletions src/http/warp_implementation/error.rs

This file was deleted.

85 changes: 0 additions & 85 deletions src/http/warp_implementation/filter_helpers.rs

This file was deleted.

205 changes: 0 additions & 205 deletions src/http/warp_implementation/filters.rs

This file was deleted.

Loading

0 comments on commit 467d43f

Please sign in to comment.