Skip to content

Commit

Permalink
Merge pull request #39 from jplock/jp-deps
Browse files Browse the repository at this point in the history
[chore] update dependencies
  • Loading branch information
jplock authored Sep 24, 2024
2 parents cfbb3f5 + 4aff0da commit 4face16
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 29 deletions.
61 changes: 39 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
black==24.8.0
aws-lambda-powertools[all,aws-sdk]==3.0.0
boto3-stubs[dynamodb,kms]==1.35.24
boto3-stubs[dynamodb,kms]==1.35.25
2 changes: 1 addition & 1 deletion canary/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
black==24.8.0
aws-lambda-powertools[all,aws-sdk]==3.0.0
boto3-stubs[dynamodb,kms]==1.35.24
boto3-stubs[dynamodb,kms]==1.35.25
6 changes: 3 additions & 3 deletions parent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ path = "src/main.rs"
anyhow = "1.0.89"
aws-config = { version = "1.5.6", default-features = false, features = ["rustls", "rt-tokio", "behavior-version-latest"] }
aws-credential-types = "1.2.1"
axum = { version = "0.7.5", default-features = false, features = ["http1", "json", "tokio", "tracing"] }
axum = { version = "0.7.6", default-features = false, features = ["http1", "json", "tokio", "tracing"] }
byteorder = "1.5.0"
clap = { version = "4.5.17", features = ["derive", "env"] }
clap = { version = "4.5.18", features = ["derive", "env"] }
rand = "0.8.5"
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
thiserror = "1.0.63"
thiserror = "1.0.64"
tokio = { version = "1.40.0", features = ["rt-multi-thread", "process", "tracing"] }
tracing = { version = "0.1.40", features = ["log"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "fmt", "json"] }
Expand Down
4 changes: 2 additions & 2 deletions parent/src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ impl Application {
) -> Result<Self, std::io::Error> {
let address = format!("{}:{}", options.host, options.port);
let listener = TcpListener::bind(address).await?;
let port = listener.local_addr().unwrap().port();
let server = run(listener, options.clone(), enclaves)?;
let port = server.local_addr()?.port();

tracing::info!("[parent] listening at http://{}:{}", options.host, port);

Expand All @@ -41,7 +41,7 @@ impl Application {
}

pub async fn run_until_stopped(self) -> Result<(), std::io::Error> {
self.server.await
self.server.tcp_nodelay(true).await
}
}

Expand Down

0 comments on commit 4face16

Please sign in to comment.