Add rand-core v0.9 support.
Co-Authored-By: Aurélien Jacobs <aurel@gnuage.org>
This commit is contained in:
@@ -38,7 +38,6 @@ embedded-io-async = { version = "0.6.1" }
|
||||
embedded-storage = { version = "0.3" }
|
||||
static_cell = "2"
|
||||
portable-atomic = { version = "1.5", features = ["critical-section"] }
|
||||
rand = { version = "0.8.5", default-features = false }
|
||||
|
||||
# bootsel not currently supported on 2350
|
||||
[[bin]]
|
||||
|
||||
@@ -14,7 +14,6 @@ use embassy_rp::peripherals::SPI0;
|
||||
use embassy_rp::spi::{Async, Config as SpiConfig, Spi};
|
||||
use embassy_time::Delay;
|
||||
use embedded_hal_bus::spi::ExclusiveDevice;
|
||||
use rand::RngCore;
|
||||
use static_cell::StaticCell;
|
||||
use {defmt_rtt as _, panic_probe as _};
|
||||
|
||||
|
||||
@@ -81,8 +81,8 @@ embedded-hal-async = { version = "1.0" }
|
||||
embedded-can = { version = "0.4" }
|
||||
micromath = "2.0.0"
|
||||
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
|
||||
rand_core = { version = "0.6", default-features = false }
|
||||
rand_chacha = { version = "0.3", default-features = false }
|
||||
rand_core = { version = "0.9.1", default-features = false }
|
||||
rand_chacha = { version = "0.9.0", default-features = false }
|
||||
static_cell = "2"
|
||||
portable-atomic = { version = "1.5", features = [] }
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ use embassy_stm32::eth::{Ethernet, GenericPhy, PacketQueue};
|
||||
use embassy_stm32::peripherals::ETH;
|
||||
use embassy_stm32::rng::Rng;
|
||||
use embassy_stm32::{bind_interrupts, eth, peripherals, rng};
|
||||
use rand_core::RngCore;
|
||||
use static_cell::StaticCell;
|
||||
use {defmt_rtt as _, panic_probe as _};
|
||||
|
||||
|
||||
@@ -4,5 +4,5 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
rand = "0.8"
|
||||
rand = "0.9"
|
||||
serial = "0.4"
|
||||
|
||||
Reference in New Issue
Block a user