Skip to content

chore(deps): pin rustls 0.23.45 (RUSTSEC-2026-0285) + drop deprecated f32 import - #561

Merged
ajianaz merged 1 commit into
developfrom
chore/560-rustls-02345
Oct 4, 2026
Merged

ajianaz merged 1 commit into
developfrom
chore/560-rustls-02345

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

What

Two develop-wide red gates in one unblock PR (lockfile + one test-only line, no runtime code):

  1. Pin rustls 0.23.42 → 0.23.45: RUSTSEC-2026-0285 (TLS 1.3 handshake messages may be sent in plaintext) trips rustsec/audit-check on develop and every open PR. Same remediation as gaira (2026-10-03); rustls-webpki rides along to 0.103.15.
  2. Drop use std::f32; from the src/index/vector.rs tests module: it resolves f32::EPSILON to the deprecated module-path constant — hard clippy error under -D warnings on rustc 1.99, now including CI's floating stable toolchain (PR fix(review): report chunked findings when chunks return empty summaries #559's Clippy job failed on exactly this).

Why

Every open PR is red on Security Audit; every commit from a rustc ≥1.99 machine was blocked at pre-commit. Fixing both on develop first lets the feature PRs (#559) land on a green base instead of stacking dead check-runs. Closes #560, closes #557.

Testing

  • cargo test --bin cora index::vector → 14 passed, 0 failed
  • cargo clippy --all-targets -- -D warnings → clean locally on rustc 1.99 (was 4 errors)
  • CI on this PR must show Security Audit (CVE) green with rustls 0.23.45

…r tests

Two develop-wide red gates, one unblock PR (both verified against CI):

- RUSTSEC-2026-0285: rustls 0.23.42 in Cargo.lock trips rustsec
  audit-check on every open PR. Pin 0.23.45 (same remediation as
  gaira 2026-10-03); rustls-webpki rides along to 0.103.15. Closes #560.
- 'use std::f32;' in the vector tests module resolves f32::EPSILON to
  the deprecated module-path constant: clippy -D warnings is red on
  rustc 1.99, now including CI's stable toolchain. Removing the import
  restores the associated-constant resolution. Closes #557.

Lockfile + one test-only line; no runtime code paths touched.
@ajianaz
ajianaz merged commit 96cdb7c into develop Oct 4, 2026
14 checks passed
@ajianaz
ajianaz deleted the chore/560-rustls-02345 branch October 4, 2026 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant