Skip to content

Out of date Rand dependency #743

Description

@JulienH2000

Hello,
It seems this crate relies on the Rand crate, but it uses Rand v0.8.5, and when adding the latest version of the Rand crate (v0.9.2), it creates a conflict upon the ThreadRng trait definition, as the latest rand crate has deprecated rand::thread_rng() for rand::rng(), redefining the ThreadRng trait bound by some statime functions...

For instance in the .add_port method :
39 | let mut port = instance.add_port(port_config, filter_config, clock, rng); | -------- ^^^ the traitrand_core::RngCoreis not implemented forThreadRng| | | required by a bound introduced by this call | note: there are multiple different versions of craterand_core in the dependency graph

thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions