Dependencies aktualisieren, cargo audit blockierend #17

Merged
jochen merged 1 commit from chore/dependency-update into master 2026-11-10 10:32:17 +00:00
Collaborator

Closes #11

Änderungen

  • =-Pins durch normale Semver-Ranges ersetzt; Cargo.lock sorgt weiter für reproduzierbare Builds
  • Untergrenzen schließen verwundbare Versionen aus, auch ohne Lockfile:
Crate vorher jetzt Advisory
tracing-subscriber 0.3.18 0.3.23 (≥ 0.3.20) RUSTSEC-2025-0055
bytes (via tokio) 1.5.0 1.12.1 RUSTSEC-2026-0007
tokio 1.35.1 1.54.1 (≥ 1.54) RUSTSEC-2025-0023, RUSTSEC-2026-0386
anyhow 1.0.79 1.0.104 (≥ 1.0.104) RUSTSEC-2026-0190
  • Ungenutzte direkte Dependencies bytes, hashbrown, indexmap entfernt; damit ist auch das unmaintained adler aus dem Baum
  • Abhängigkeitsbaum: 98 → 79 Crates; musl-Release-Binary 2,8 MB → 1,9 MB
  • CI: cargo audit ist jetzt ein blockierender Schritt; cargo-audit kommt als fertiges Binary über taiki-e/install-action statt jedes Mal kompiliert zu werden (im letzten Lauf 5,5 von 8,5 Minuten)

Kein Code-Change nötig: tokio, clap, toml, socket2 bleiben auf ihren Major-Linien.

Getestet

  • cargo audit: 0 Vulnerabilities, 0 Warnungen (79 Crates)
  • cargo fmt --check, cargo clippy --all-targets -- -D warnings, cargo test (12/12)
  • cargo check --target x86_64-unknown-freebsd, musl-Release-Build
  • End-to-End mit zwei Daemons wie in #16: Weiterleitung, Filter, Allowlist (rejected_peers: 1), Ingress-Filter (dropped_filter: 1), Dedup-Echo, SIGTERM — identische Ergebnisse wie vor dem Update

Hinweis: Cargo.lock ist jetzt Format v4 und braucht Cargo ≥ 1.78. Das CI-Image (rust:1-bookworm) und das rust-Paket auf FreeBSD 14 erfüllen das.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Vh6img4RYU1F52VUwGJcrp

Closes #11 ## Änderungen - `=`-Pins durch normale Semver-Ranges ersetzt; `Cargo.lock` sorgt weiter für reproduzierbare Builds - Untergrenzen schließen verwundbare Versionen aus, auch ohne Lockfile: | Crate | vorher | jetzt | Advisory | |---|---|---|---| | tracing-subscriber | 0.3.18 | 0.3.23 (≥ 0.3.20) | RUSTSEC-2025-0055 | | bytes (via tokio) | 1.5.0 | 1.12.1 | RUSTSEC-2026-0007 | | tokio | 1.35.1 | 1.54.1 (≥ 1.54) | RUSTSEC-2025-0023, RUSTSEC-2026-0386 | | anyhow | 1.0.79 | 1.0.104 (≥ 1.0.104) | RUSTSEC-2026-0190 | - Ungenutzte direkte Dependencies `bytes`, `hashbrown`, `indexmap` entfernt; damit ist auch das unmaintained `adler` aus dem Baum - Abhängigkeitsbaum: 98 → 79 Crates; musl-Release-Binary 2,8 MB → 1,9 MB - CI: `cargo audit` ist jetzt ein blockierender Schritt; `cargo-audit` kommt als fertiges Binary über `taiki-e/install-action` statt jedes Mal kompiliert zu werden (im letzten Lauf 5,5 von 8,5 Minuten) Kein Code-Change nötig: tokio, clap, toml, socket2 bleiben auf ihren Major-Linien. ## Getestet - `cargo audit`: **0 Vulnerabilities, 0 Warnungen** (79 Crates) - `cargo fmt --check`, `cargo clippy --all-targets -- -D warnings`, `cargo test` (12/12) - `cargo check --target x86_64-unknown-freebsd`, musl-Release-Build - End-to-End mit zwei Daemons wie in #16: Weiterleitung, Filter, Allowlist (`rejected_peers: 1`), Ingress-Filter (`dropped_filter: 1`), Dedup-Echo, SIGTERM — identische Ergebnisse wie vor dem Update Hinweis: `Cargo.lock` ist jetzt Format v4 und braucht Cargo ≥ 1.78. Das CI-Image (`rust:1-bookworm`) und das `rust`-Paket auf FreeBSD 14 erfüllen das. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Vh6img4RYU1F52VUwGJcrp
Update dependencies, make cargo audit blocking
All checks were successful
ci / rust (push) Successful in 2m48s
ci / rust (pull_request) Successful in 2m52s
1528655713
- Replace exact `=` pins with semver ranges; Cargo.lock keeps builds
  reproducible
- Lower bounds exclude versions with RustSec advisories:
  tokio >= 1.54 (RUSTSEC-2025-0023, RUSTSEC-2026-0386),
  tracing-subscriber >= 0.3.20 (RUSTSEC-2025-0055),
  anyhow >= 1.0.104 (RUSTSEC-2026-0190);
  bytes 1.12.1 via tokio (RUSTSEC-2026-0007)
- Drop unused direct dependencies bytes, hashbrown, indexmap
  (removes the unmaintained transitive adler as well)
- CI: cargo audit is now a blocking step; install the prebuilt binary
  via taiki-e/install-action instead of compiling it each run

cargo audit: 0 vulnerabilities, 0 warnings (79 crates)

Closes #11

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vh6img4RYU1F52VUwGJcrp
jochen approved these changes 2026-11-10 10:32:09 +00:00
jochen merged commit b644539e4e into master 2026-11-10 10:32:17 +00:00
jochen deleted branch chore/dependency-update 2026-11-10 10:32:17 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jochen/mdns-bridge!17
No description provided.