Repository navigation
chore(deps): update Rust dependencies - #2404
Merged
josecelano merged 4 commits intoOct 1, 2026
Merged
Conversation
Updating crates.io index
Locking 1 package to latest Rust 1.88 compatible version
Updating lazy_static v1.5.0 -> v1.5.1
note: pass `--verbose` to see 10 unchanged dependencies behind latest
The =1.2.1 pin worked around schemars_derive 1.2.2 being unavailable in the registry. It is published now, so the pin is no longer needed. The generated v1 schema is unchanged (drift test passes). Supersedes Dependabot PR torrust#2338.
No source changes were needed; the configuration tests (including the TOML round-trip and persistence tests) pass unchanged. figment still pulls toml 0.8 transitively. Supersedes Dependabot PR torrust#2399.
SecureClientIpSource was renamed to ClientIpSource in axum-client-ip 1.0.
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The migrations match the updated dependency APIs, preserve existing behavior, and are covered by the reported validation.
Review effort: Balanced
Findings: None
What changed in this PR
Updates compatible Rust dependencies and adapts the HTTP server to the renamed client-IP API.
Changes:
- Upgrades
schemars,toml, andaxum-client-ip. - Migrates
SecureClientIpSourcetoClientIpSource. - Refreshes transitive lockfile dependencies.
| File | Description |
|---|---|
Cargo.lock |
Records updated direct and transitive dependencies. |
packages/configuration/Cargo.toml |
Upgrades toml to version 1. |
packages/axum-http-server/Cargo.toml |
Upgrades axum-client-ip to version 1. |
packages/axum-http-server/src/v1/routes.rs |
Adopts the renamed client-IP source API. |
contrib/dev-tools/checks/frontmatter-validator/Cargo.toml |
Upgrades schemars and removes its temporary exact pin. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Member
Author
|
ACK f9662e0 |
This branch was previously deployed
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.
Summary
schemarsto 1.2.2, removing the temporary version pin from the frontmatter validator.tomlfrom 0.9 to 1.1 in the configuration package.axum-client-ipfrom 0.7 to 1.3 and migrateSecureClientIpSourcetoClientIpSource.Packages touched
contrib/dev-tools/checks/frontmatter-validatorpackages/configurationpackages/axum-http-serverValidation
cargo clippy -p torrust-tracker-axum-http-server --all-targetscargo test -p torrust-tracker-axum-http-server./contrib/dev-tools/git/hooks/pre-commit.shSupersedes #2338, #2398, and #2399.