Merge pull request #122 from djmitche/update

Update crates and bump MSRV to 1.82.0
This commit is contained in:
Dustin J. Mitchell
2025-07-10 17:40:32 -04:00
committed by GitHub
4 changed files with 293 additions and 250 deletions

View File

@ -10,11 +10,10 @@ on:
jobs:
test:
strategy:
# A simple matrix for now, but if we introduce an MSRV it can be added here.
matrix:
rust:
# MSRV
- "1.81.0"
- "1.82.0"
- "stable"
runs-on: ubuntu-latest

534
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ members = [
"server",
"sqlite",
]
rust-version = "1.81.0" # MSRV
rust-version = "1.82.0" # MSRV
[workspace.dependencies]
uuid = { version = "^1.17.0", features = ["serde", "v4"] }

View File

@ -59,7 +59,7 @@ fn command() -> Command {
fn print_error<B>(res: ServiceResponse<B>) -> actix_web::Result<ErrorHandlerResponse<B>> {
if let Some(err) = res.response().error() {
log::error!("Internal Server Error caused by:\n{:?}", err);
log::error!("Internal Server Error caused by:\n{err:?}");
}
Ok(ErrorHandlerResponse::Response(res.map_into_left_body()))
}
@ -113,7 +113,7 @@ async fn main() -> anyhow::Result<()> {
.configure(|cfg| server.config(cfg))
});
for listen_address in server_args.listen_addresses {
log::info!("Serving on {}", listen_address);
log::info!("Serving on {listen_address}");
http_server = http_server.bind(listen_address)?
}
http_server.run().await?;