Skip to content

no CryptoBlockRng in block #494

Closed as not planned
Closed as not planned

Description

@ligel207

error[E0432]: unresolved imports rand_core::block::BlockRngCore, rand_core::block::CryptoBlockRng
--> C:\Users\XLX.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\chacha20-0.10.0-rc.5\src\rng.rs:13:23
|
13 | block::{BlockRng, BlockRngCore, CryptoBlockRng},
| ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no CryptoBlockRng in block
| |
| no BlockRngCore in block
| help: a similar name exists in the module: BlockRng

Image

Activity

  1. tarcieri commented on Dec 28, 2025

    @tarcieri
    Member

    That's an outdated release of chacha20. You need chacha20 v0.10.0-rc.6 to be compatible with the latest rand_core (v0.10.0-rc-3).

    This PR might help: rust-random/rand#1697

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions