Skip to content

Update const-oid requirement from 0.9 to 0.10 - #370

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/const-oid-0.10
Closed

Update const-oid requirement from 0.9 to 0.10#370
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/const-oid-0.10

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 24, 2025

Copy link
Copy Markdown
Contributor

Updates the requirements on const-oid to permit the latest version.

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 24, 2025
@jhelovuo

jhelovuo commented Apr 3, 2025

Copy link
Copy Markdown
Member

@dependabot rebase

Updates the requirements on [const-oid](https://github.com/RustCrypto/formats) to permit the latest version.
- [Commits](RustCrypto/formats@const-oid/v0.9.0...const-oid/v0.10.0)

---
updated-dependencies:
- dependency-name: const-oid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/const-oid-0.10 branch from c58ca06 to b7f9a98 Compare April 3, 2025 12:57
jhelovuo added a commit that referenced this pull request Aug 3, 2026
The only direct uses of const-oid were two `ObjectIdentifier::new_unwrap`
calls in the S/MIME parser, compared against OIDs produced by the `der`/`cms`
types (`econtent_type`, `attr.oid`). `der` already re-exports that exact type
as `der::asn1::ObjectIdentifier` (via its `oid` feature), so we source the OID
type from `der` instead and remove the direct const-oid dependency.

This sidesteps dependabot #370 (const-oid 0.9 -> 0.10): const-oid 0.10 is the
`der 0.8` generation and cannot coexist with der 0.7's re-exported 0.9
ObjectIdentifier (E0308 type mismatch). const-oid remains only as a transitive
dep (0.9, via der/cms/x509-cert). MSRV unaffected. All 699 security tests pass.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jhelovuo

jhelovuo commented Aug 3, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

Looks like const-oid is no longer a dependency, so this is no longer needed.

@dependabot dependabot Bot closed this Aug 3, 2026
@dependabot
dependabot Bot deleted the dependabot/cargo/const-oid-0.10 branch August 3, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant