[package] name = "rand-facade" description = "A global mutex-based random facade for no_std compatible libraries that require an initialised random number generator" repository = "https://github.com/ryankurte/rust-rand-facade" keywords = ["no_std", "embedded", "rand", "random", "facade"] categories = ["no-std"] authors = ["ryan "] readme = "README.md" version = "0.2.0" edition = "2018" license = "MIT" [features] os_rng = [ "rand", "rand/std" ] std = [ "rand" ] cortex_m = [ "cortex-m", "lazy_static/spin_no_std" ] default = [] [dependencies] rand_core = { version = "0.5.1", default_features = false } lazy_static = { version = "1.4.0", default_features = false } rand = { version = "0.7.3", default_features = false, optional = true } cortex-m = { version = "0.6.2", optional = true } [dev-dependencies] rand_chacha = { version = "0.2.2", default_features = false }