Skip to content

chore: update all deps - #17

Merged
eatradish merged 5 commits into
masterfrom
update-deps
Sep 18, 2026
Merged

eatradish merged 5 commits into
masterfrom
update-deps

Conversation

@eatradish

@eatradish eatradish commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

Description

Bump all direct dependencies to their latest releases and adapt the code and templates: axum 0.8, askama 0.16, sqlx 0.9, OpenTelemetry 0.32, and clap 4 replacing structopt. Verified with cargo fmt, cargo clippy, cargo build and cargo test.

About AI

This PR was drafted with DeepSeek V4.1 Flash in a VS Code code agent session, and the author has reviewed and adjusted the changes.

  • Model: DeepSeek V4.1 Flash
  • Platform: VSCode code agent session

Assisted-by: DeepSeek noreply@deepseek.com

Bump every direct dependency to the latest release: axum 0.6 -> 0.8
(with axum-macros 0.3 -> 0.5 and axum-extra 0.7 -> 0.12), tower-http
0.4 -> 0.7, askama 0.12 -> 0.16, sqlx 0.8 -> 0.9, toml 0.7 -> 1.1,
indexmap 1 -> 2, itertools 0.10 -> 0.15, rust-embed 6 -> 8, size
0.4 -> 0.5, thiserror 1 -> 2, reqwest 0.11 -> 0.13, and the
OpenTelemetry crates to 0.32 (tracing-opentelemetry 0.33).

The unmaintained structopt is replaced by clap 4 with the derive
feature, async-trait is added for the paginator's async trait, and
hyper/hyperlocal are dropped in favour of serving through the tokio
listeners in axum.

Assisted-by: DeepSeek <noreply@deepseek.com>
Adapt the server and views to the new crate versions:

- axum 0.8: typed route patterns use {param}/{*rest}, the query
  extractor implements the new FromRequestParts signature, and the
  server runs on tokio TCP/Unix listeners via axum::serve.
- clap 4: command-line options move from structopt attributes to the
  derive API.
- OpenTelemetry 0.32: the OTLP exporter, resource and tracer provider
  are built with the builder API, and the provider is kept alive for
  the lifetime of the process.
- askama 0.16: the filters module is exported at the crate root so the
  generated template code can resolve the custom filters.
- sqlx 0.9: IntoArguments no longer carries a lifetime argument.
- misc: itertools group_by -> chunk_by, plus repeat_n, div_ceil and
  or_default cleanups.

Assisted-by: DeepSeek <noreply@deepseek.com>
Rewrite the custom filters with #[askama::filter_fn], returning owned
values where the old signatures borrowed from the input. Fix the
templates for the new parser: {% extends %} stays first, {% call %}
blocks are closed with {% endcall %}, logic uses &&, and the shared
pagination macros no longer depend on the search page's `q` field.

Assisted-by: DeepSeek <noreply@deepseek.com>
d, cut and get_first_line hand back a slice of their input instead
of copying it, dropping the to_string() allocations that are no
longer needed.

Assisted-by: DeepSeek <noreply@deepseek.com>
@eatradish eatradish changed the title chore(deps): update all dependencies to their latest versions chore(deps): update all deps Sep 18, 2026
Use a native async trait method for Paginator and remove the
async-trait attribute, import and dependency, along with the
now-unneeded mut self binding.

Assisted-by: DeepSeek <noreply@deepseek.com>
@eatradish eatradish changed the title chore(deps): update all deps chore: update all deps Sep 18, 2026
@eatradish
eatradish merged commit caec1ea into master Sep 18, 2026
1 check passed
@eatradish
eatradish deleted the update-deps branch September 18, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants