Skip to content

Commit

Permalink
update to actix-web 4.4 for rustls 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cbgbt committed Aug 31, 2023
1 parent 358b064 commit c1e021c
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 54 deletions.
117 changes: 73 additions & 44 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 apiserver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ server = []
models = { path = "../models", version = "0.1.0" }

# tracing-actix-web version must align with actix-web version
actix-web = { version = "4", features = ["rustls"] }
actix-web = { version = "4.4", features = ["rustls-0_21"] }
awc = "3"
actix-web-opentelemetry = { version = "0.13", features = ["metrics", "metrics-prometheus"] }
rustls = { version = "0.21" }
Expand Down
2 changes: 1 addition & 1 deletion apiserver/src/api/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub enum Error {
CertExtract { path: String, source: io::Error },

#[snafu(display("Failed to add CA to cert store: {}", source))]
CertStore { source: webpki::Error },
CertStore { source: rustls::Error },

#[snafu(display("Failed to build TLS config from loaded certs: {}", source))]
TLSConfigBuild { source: rustls::Error },
Expand Down
Loading

0 comments on commit c1e021c

Please sign in to comment.