Skip to content

Cargo.lock: bump dependencies #1838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dishmaker
Copy link
Contributor

I tried to use bp256 alongside newest der, but bumped into dependency mismatch.

error: failed to select a version for `digest`.
    ... required by package `rsa v0.10.0-pre.4 (https://github.com/RustCrypto/RSA.git?rev=01c9228a547b9aaf761a768593bcb07552459440#01c9228a)`
    ... which satisfies dependency `rsa = "=0.10.0-pre.4"` of package `tachograph_g2_test v0.1.0`
versions that meet the requirements `=0.11.0-pre.10` are: 0.11.0-pre.10

the package `rsa` depends on `digest`, with features: `std` but `digest` does not have these features.

Then tried to bump RustCrypto/RSA, but i don't know how...

This commit is just a result of cargo update.

    Updating git repository `https://github.com/RustCrypto/traits.git`
    Updating git repository `https://github.com/RustCrypto/AEADs.git`
    Updating git repository `https://github.com/RustCrypto/key-wraps.git`
    Updating git repository `https://github.com/RustCrypto/KDFs.git`
    Updating git repository `https://github.com/RustCrypto/block-modes.git`
    Updating git repository `https://github.com/entropyxyz/crypto-primes.git`
    Updating git repository `https://github.com/RustCrypto/signatures.git`
    Updating git repository `https://github.com/RustCrypto/elliptic-curves.git`
    Updating git repository `https://github.com/RustCrypto/password-hashes.git`
    Updating git repository `https://github.com/RustCrypto/RSA.git`
    Updating git repository `https://github.com/RustCrypto/stream-ciphers.git`
    Updating crates.io index
     Locking 28 packages to latest compatible versions
    Updating aead v0.6.0-rc.0 (https://github.com/RustCrypto/traits.git#439fc8c2) -> #74ee4ef8
    Updating backtrace v0.3.74 -> v0.3.75
    Updating clap v4.5.35 -> v4.5.38
    Updating clap_builder v4.5.35 -> v4.5.38
    Updating crypto-common v0.2.0-rc.2 (https://github.com/RustCrypto/traits.git#439fc8c2) -> #74ee4ef8
    Updating crypto-primes v0.7.0-dev (https://github.com/entropyxyz/crypto-primes.git#541a5eb1) -> #04f92740
    Updating elliptic-curve v0.14.0-rc.1 (https://github.com/RustCrypto/traits.git#439fc8c2) -> #74ee4ef8
    Updating getrandom v0.2.15 -> v0.2.16
    Updating hashbrown v0.15.2 -> v0.15.3
    Updating hermit-abi v0.5.0 -> v0.5.1
    Updating libc v0.2.171 -> v0.2.172
      Adding libm v0.2.15
    Updating linux-raw-sys v0.9.3 -> v0.9.4
    Updating p256 v0.14.0-pre.2 (https://github.com/RustCrypto/elliptic-curves.git#e3113266) -> #6ae815ab
    Updating pbkdf2 v0.13.0-pre.1 (https://github.com/RustCrypto/password-hashes.git#0b8ff354) -> #329ab4bd
    Updating primefield v0.14.0-pre.0 (https://github.com/RustCrypto/elliptic-curves.git#e3113266) -> #6ae815ab
    Updating primeorder v0.14.0-pre.2 (https://github.com/RustCrypto/elliptic-curves.git#e3113266) -> #6ae815ab
    Updating proc-macro2 v1.0.94 -> v1.0.95
    Updating rustix v1.0.5 -> v1.0.7
    Updating salsa20 v0.11.0-pre.2 (https://github.com/RustCrypto/stream-ciphers.git#94f86169) -> #ddbb1b34
    Updating scrypt v0.12.0-pre.2 (https://github.com/RustCrypto/password-hashes.git#0b8ff354) -> #329ab4bd
    Updating signature v3.0.0-pre (https://github.com/RustCrypto/traits.git#439fc8c2) -> #74ee4ef8
    Updating syn v2.0.100 -> v2.0.101
    Updating tempfile v3.19.1 -> v3.20.0
    Updating trybuild v1.0.104 -> v1.0.105
    Updating winnow v0.7.6 -> v0.7.10
    Updating zerocopy v0.8.24 -> v0.8.25
    Updating zerocopy-derive v0.8.24 -> v0.8.25
note: pass `--verbose` to see 2 unchanged dependencies behind latest

    Updating git repository `https://github.com/RustCrypto/traits.git`
    Updating git repository `https://github.com/RustCrypto/AEADs.git`
    Updating git repository `https://github.com/RustCrypto/key-wraps.git`
    Updating git repository `https://github.com/RustCrypto/KDFs.git`
    Updating git repository `https://github.com/RustCrypto/block-modes.git`
    Updating git repository `https://github.com/entropyxyz/crypto-primes.git`
    Updating git repository `https://github.com/RustCrypto/signatures.git`
    Updating git repository `https://github.com/RustCrypto/elliptic-curves.git`
    Updating git repository `https://github.com/RustCrypto/password-hashes.git`
    Updating git repository `https://github.com/RustCrypto/RSA.git`
    Updating git repository `https://github.com/RustCrypto/stream-ciphers.git`
    Updating crates.io index
     Locking 28 packages to latest compatible versions
    Updating aead v0.6.0-rc.0 (https://github.com/RustCrypto/traits.git#439fc8c2) -> #74ee4ef8
    Updating backtrace v0.3.74 -> v0.3.75
    Updating clap v4.5.35 -> v4.5.38
    Updating clap_builder v4.5.35 -> v4.5.38
    Updating crypto-common v0.2.0-rc.2 (https://github.com/RustCrypto/traits.git#439fc8c2) -> #74ee4ef8
    Updating crypto-primes v0.7.0-dev (https://github.com/entropyxyz/crypto-primes.git#541a5eb1) -> #04f92740
    Updating elliptic-curve v0.14.0-rc.1 (https://github.com/RustCrypto/traits.git#439fc8c2) -> #74ee4ef8
    Updating getrandom v0.2.15 -> v0.2.16
    Updating hashbrown v0.15.2 -> v0.15.3
    Updating hermit-abi v0.5.0 -> v0.5.1
    Updating libc v0.2.171 -> v0.2.172
      Adding libm v0.2.15
    Updating linux-raw-sys v0.9.3 -> v0.9.4
    Updating p256 v0.14.0-pre.2 (https://github.com/RustCrypto/elliptic-curves.git#e3113266) -> #6ae815ab
    Updating pbkdf2 v0.13.0-pre.1 (https://github.com/RustCrypto/password-hashes.git#0b8ff354) -> #329ab4bd
    Updating primefield v0.14.0-pre.0 (https://github.com/RustCrypto/elliptic-curves.git#e3113266) -> #6ae815ab
    Updating primeorder v0.14.0-pre.2 (https://github.com/RustCrypto/elliptic-curves.git#e3113266) -> #6ae815ab
    Updating proc-macro2 v1.0.94 -> v1.0.95
    Updating rustix v1.0.5 -> v1.0.7
    Updating salsa20 v0.11.0-pre.2 (https://github.com/RustCrypto/stream-ciphers.git#94f86169) -> #ddbb1b34
    Updating scrypt v0.12.0-pre.2 (https://github.com/RustCrypto/password-hashes.git#0b8ff354) -> #329ab4bd
    Updating signature v3.0.0-pre (https://github.com/RustCrypto/traits.git#439fc8c2) -> #74ee4ef8
    Updating syn v2.0.100 -> v2.0.101
    Updating tempfile v3.19.1 -> v3.20.0
    Updating trybuild v1.0.104 -> v1.0.105
    Updating winnow v0.7.6 -> v0.7.10
    Updating zerocopy v0.8.24 -> v0.8.25
    Updating zerocopy-derive v0.8.24 -> v0.8.25
note: pass `--verbose` to see 2 unchanged dependencies behind latest
@baloo
Copy link
Member

baloo commented May 13, 2025

There is a bit of limbo, we can't bump the pin to digest yet, and we need to wait for newtype to merge (RustCrypto/traits#1799).

Once done, we need to merge:

But we'll also need those to get a consistent version of crypto-bigint:

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