Skip to content

Float the RustCrypto fork pins that their default branch can carry - #375

Merged
AdaWorldAPI merged 1 commit into
mainfrom
ccr-8062bcc7-l7lkz9
Nov 8, 2026
Merged

AdaWorldAPI merged 1 commit into
mainfrom
ccr-8062bcc7-l7lkz9

Conversation

@AdaWorldAPI

Copy link
Copy Markdown
Owner

Internal pins are prohibited. A [patch] only applies when the fork carries the version crates.io would resolve. So a fork pin can float exactly when its default branch still carries that version.

Floated

Crate Was Now Resolves to
ecdsa 0.17.0 signatures rev 5595c3b master 5595c3b, the same commit
ed448-goldilocks 0.14.0-pre.15 elliptic-curves rev f5cb30e master 739304e: 45 commits newer, same version
p256 0.14.0 (ogar-oidc) elliptic-curves rev 739304e master 739304e, the same commit

ed448-goldilocks and p256 now resolve to one elliptic-curves commit; before this they used two.

Still pinned

Each of these forks' default branch is a semver-incompatible major ahead. Floating would silently drop the patch and take the crate from crates.io.

Crate Pinned version Fork's default branch
chacha20poly1305 0.10.1 master 0.11.0
poly1305 0.8.0 master 0.9.1
curve25519-dalek 4.1.3 main 5.0.0
md-5 0.10.6 master 0.11.0
des 0.8.1 master 0.9.0

Unpinning these means migrating the consumers, ndarray encryption and ogar-auth, to the new majors. The Cargo.toml comment and docs/UPSTREAM-DEPS.md now say so.

Validation

  • A fresh cargo generate-lockfile reports no unused patch.
  • cargo test -p ogar-oidc -p ogar-auth -p ogar-encryption: all pass (84, 1 ignored).
  • clippy -D warnings on the same three crates is clean.

Generated by Claude Code

Internal pins are prohibited. A [patch] only applies when the fork carries
the version crates.io would resolve, so a fork pin can float exactly when
its default branch still carries that version:

- ecdsa 0.17.0: signatures rev 5595c3b -> master (master is 5595c3b).
- ed448-goldilocks 0.14.0-pre.15: elliptic-curves rev f5cb30e -> master
  (739304e, 45 commits newer, same version).
- p256 0.14.0 (ogar-oidc): elliptic-curves rev 739304e -> master.

ed448 and p256 now resolve to one elliptic-curves commit. A fresh
generate-lockfile reports no unused patch; ogar-oidc, ogar-auth and
ogar-encryption tests and clippy -D warnings pass.

Still pinned, because the fork's default branch is a semver-incompatible
major ahead and floating would silently fall back to crates.io:
chacha20poly1305 0.10.1 (master 0.11.0), poly1305 0.8.0 (master 0.9.1),
curve25519-dalek 4.1.3 (main 5.0.0), md-5 0.10.6 (master 0.11.0),
des 0.8.1 (master 0.9.0). The Cargo.toml comment and
docs/UPSTREAM-DEPS.md say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XAqKMMWgnUU9g7Ldyn6sbk
@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fe581cce-80fe-4c4d-86cf-24ced3fb8d10
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@AdaWorldAPI
AdaWorldAPI marked this pull request as ready for review November 8, 2026 01:51
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T01:53:12.442486Z dd2049a Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AdaWorldAPI
AdaWorldAPI merged commit 8fab880 into main Nov 8, 2026
4 checks passed
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