Implement async RNG, including rand_core sync traits.

This commit is contained in:
Bob McWhirter
2021-05-06 14:33:29 -04:00
parent 1eb70a7e5d
commit e8537ca9c2
10 changed files with 3449 additions and 3332 deletions

View File

@ -15,6 +15,7 @@ cortex-m-rt = { version = "0.6.13", features = ["device"] }
cortex-m = "0.7.1"
embedded-hal = { version = "0.2.4" }
futures = { version = "0.3.5", default-features = false, features = ["async-await"] }
rand_core = { version = "0.6.2", optional=true}
[build-dependencies]
regex = "1.4.6"
@ -321,7 +322,7 @@ _exti = []
_exti_v1 = []
_gpio = []
_gpio_v2 = []
_rng = []
_rng = [ "rand_core",]
_rng_v1 = []
_stm32f4 = []
_stm32l4 = []