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 !
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_corein the dependency graphthanks !