Skip to content

Commit e1f54cb

Browse files
committed
refactor: remove debug statements and revert lambda http dependency
1 parent 581b56d commit e1f54cb

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

htsget-axum/src/handlers/get.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ use htsget_search::HtsGet;
88
use http::HeaderMap;
99
use serde_json::Value;
1010
use std::collections::HashMap;
11-
use tracing::debug;
1211

1312
/// GET request reads endpoint.
1413
pub async fn reads<H: HtsGet + Send + Sync + 'static>(
@@ -41,10 +40,6 @@ pub async fn variants<H: HtsGet + Send + Sync + 'static>(
4140
extension: Option<Extension<Value>>,
4241
State(app_state): State<AppState<H>>,
4342
) -> impl IntoResponse {
44-
debug!("query {:?}", request);
45-
debug!("path {:?}", path);
46-
debug!("headers {:?}", headers);
47-
4843
let request = extract_request(request, path, headers);
4944

5045
handle_response(

htsget-http/src/http_core.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ pub async fn get(
7575

7676
let auth = authenticate(&headers, auth).await?;
7777
debug!(auth = ?auth, "auth");
78-
debug!("request: {:#?}", &request);
7978

8079
let format = match_format_from_query(&endpoint, request.query())?;
8180
let mut query = vec![convert_to_query(request, format)?];

htsget-lambda/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ default = []
2323
[dependencies]
2424
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
2525
rustls = "0.23"
26-
lambda_http = { version = "0.17", git = "https://github.com/mmalenic/aws-lambda-rust-runtime.git", branch = "fix/path-context" }
27-
aws_lambda_events = { version = "0.18", git = "https://github.com/mmalenic/aws-lambda-rust-runtime.git", branch = "fix/path-context" }
26+
lambda_http = { version = "0.17", git = "https://github.com/andrewpatto/aws-lambda-rust-runtime.git", branch = "feature/lattice-support-http" }
27+
aws_lambda_events = { version = "0.18", git = "https://github.com/andrewpatto/aws-lambda-rust-runtime.git", branch = "feature/lattice-support-http" }
2828
tracing = "0.1"
2929
futures = "0.3"
3030
serde_json = "1"

0 commit comments

Comments
 (0)