mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2026-04-05 17:20:35 +00:00
Merge pull request #122 from djmitche/update
Update crates and bump MSRV to 1.82.0
This commit is contained in:
3
.github/workflows/rust-tests.yml
vendored
3
.github/workflows/rust-tests.yml
vendored
@ -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
534
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -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"] }
|
||||
|
||||
@ -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?;
|
||||
|
||||
Reference in New Issue
Block a user