We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d386b5d commit fa62c66Copy full SHA for fa62c66
Cargo.toml
@@ -22,7 +22,7 @@ default = ["libc"]
22
no_std = []
23
box = [] # enable use of Box on no_std, requires alloc crate and feature
24
vec = [] # enable use of Vec on no_std, requires collections crate and feature
25
-rdrand = []
+rdrand = [] # with no_std, requires core_io
26
27
[dev-dependencies]
28
log = "0.3.0"
src/lib.rs
@@ -253,6 +253,9 @@
253
#[cfg(feature="box")] extern crate alloc;
254
#[cfg(feature="vec")] extern crate collections;
255
256
+#[cfg(all(feature="no_std",feature="rdrand",not(feature="core_io")))]
257
+use using::rdrand::feature::with::no_std::feature::requires::core_io::feature;
258
+
259
#[cfg(all(not(feature="no_std"),not(feature="rdrand")))] use core::cell::RefCell;
260
use core::marker;
261
use core::mem;
0 commit comments