All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
sys_fill_exact #386armv7-sony-vita-newlibeabihf) #359getrandom_uninit function #291wasm64-unknown-unknown support #303getrandom syscall on NetBSD ≥ 10.0 #331RtlGenRandom fallback for non-UWP Windows #337/dev/random source #310open instead of open64 #326sys_read_entropy syscall #333__getrandom_custom definition into a const block #344wasm32-unknown-unknown when using the "js" feature, even on Node.js #284 #295$crate in register_custom_getrandom! #270"js" feature #280wasm-bindgen #278wasi dependency to 0.11 #253AtomicPtr instead of AtomicUsize for Strict Provenance compatibility. #263armv6k-nintendo-3ds) support #248open when interrupted #252*‑espidf) support #245js backend #220/dev/urandom on Redox instead of rand: #222NonZeroU32::new_unchecked to convert wasi error #233rustc-dep-of-std to dependencies. #198doc_cfg feature. #200The following (off by default) Cargo features have been added:
"rdrand" - use the RDRAND instruction on no_std x86/x86_64 targets #133"js" - use JavaScript calls on wasm32-unknown-unknown #149stdweb and wasm-bindgen features (which are removed)"custom" - allows a user to specify a custom implementation #109Error constants #120std traits when the "std" Cargo feature is specified #106"log" dependency #131cfg-if to v1.0. #173std::error::Error for the Error type on additional targets. #169use_file module. #125wasi to v0.9. #126getrandom function, always return Ok(()) immediately without doing any calls to the underlying operating system. #104kern.arandom sysctl on NetBSD. #115std-dependent traits for selected targets even if std feature is disabled. (backward compatibility with v0.1.8) #96wasm32-unknown-unknown even with the disabled dummy feature. #90wasm-bindgen. #92std dependency for opening and reading files. #58wasi instead of libc on WASI target. #64dummy feature. #71Error::raw_os_error method, Error::INTERNAL_START and Error::CUSTOM_START constants. Use libc for retrieving OS error descriptions. #54lazy_static dependency and use custom structures for lock-free initialization. #51 #52getrandom() first on FreeBSD. #57Error::UNKNOWN, Error::UNAVAILABLE. #54File instead of shared file descriptor. #44getentropy and then fallback to /dev/random on macOS. #38x86_64-unknown-uefi target by using RDRAND with CPUID feature detection. #30cloudabi, winapi, and fuchsia-cprng dependencies. #40rustfmt. #39wasm32-unknown-wasi being renamed to wasm32-wasi, and for WASI being categorized as an OS.wasm32-unknown-wasi target.Publish initial implementation.
Publish an empty template library.