chore: update all deps - #17
Merged
Merged
Conversation
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
force-pushed
the
update-deps
branch
from
September 18, 2026 03:23
1bd1305 to
0b03555
Compare
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>
liushuyu
approved these changes
Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 buildandcargo 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.
Assisted-by: DeepSeek noreply@deepseek.com