You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8.5 KiB
8.5 KiB
Changelog
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.
[0.2.2] - 2021-01-19
Changed
- Forward
rustc-dep-of-stdto dependencies. #198 - Highlight feature-dependend functionality in documentation using the
doc_cfgfeature. #200
[0.2.1] - 2021-01-03
Changed
Fixed
- Multithreaded WASM support. #165
Removed
[0.2.0] - 2020-09-10
Features for using getrandom on unsupported targets
The following (off by default) Cargo features have been added:
"rdrand"- use the RDRAND instruction onno_stdx86/x86_64targets #133"js"- use JavaScript calls onwasm32-unknown-unknown#149- Replaces the
stdwebandwasm-bindgenfeatures (which are removed)
- Replaces the
"custom"- allows a user to specify a custom implementation #109
Breaking Changes
- Unsupported targets no longer compile #107
- Change/Add
Errorconstants #120 - Only impl
stdtraits when the"std"Cargo feature is specified #106 - Remove offical support for Hermit, L4Re, and UEFI #133
- Remove optional
"log"dependancy #131 - Update minimum supported Linux kernel to 2.6.32 #153
- Update MSRV to 1.34 #159
[0.1.16] - 2020-12-31
Changed
- Update
cfg-ifto v1.0. #173 - Implement
std::error::Errorfor theErrortype on additional targets. #169
Fixed
- Multithreaded WASM support. #171
[0.1.15] - 2020-09-10
Changed
[0.1.14] - 2020-01-07
Changed
- Remove use of spin-locks in the
use_filemodule. #125 - Update
wasito v0.9. #126 - Do not read errno value on DragonFlyBSD to fix compilation failure. #129
[0.1.13] - 2019-08-25
Added
- VxWorks targets support. #86
Changed
- If zero-length slice is passed to the
getrandomfunction, always returnOk(())immediately without doing any calls to the underlying operating system. #104 - Use the
kern.arandomsysctl on NetBSD. #115
Fixed
[0.1.12] - 2019-08-18
Changed
- Update wasi dependency from v0.5 to v0.7. #100
[0.1.11] - 2019-08-25
Fixed
- Implement
std-dependent traits for selected targets even ifstdfeature is disabled. (backward compatibility with v0.1.8) #96
[0.1.10] - 2019-08-18 [YANKED]
Changed
- Use the dummy implementation on
wasm32-unknown-unknowneven with the disableddummyfeature. #90
Fixed
- Fix CSP error for
wasm-bindgen. #92
[0.1.9] - 2019-08-14 [YANKED]
Changed
- Remove
stddependency for opening and reading files. #58 - Use
wasiisntead oflibcon WASI target. #64 - By default emit a compile-time error when built for an unsupported target.
This behaviour can be disabled by using the
dummyfeature. #71
Added
[0.1.8] - 2019-07-29
Changed
- Explicitly specify types to arguments of 'libc::syscall'. #74
[0.1.7] - 2019-07-29
Added
- Support for hermit and l4re. #61
Error::raw_os_errormethod,Error::INTERNAL_STARTandError::CUSTOM_STARTconstants. Uselibcfor retrieving OS error descriptions. #54
Changed
- Remove
lazy_staticdependency and use custom structures for lock-free initialization. #51 #52 - Try
getrandom()first on FreeBSD. #57
Removed
- Bitrig support. #56
Deprecated
Error::UNKNOWN,Error::UNAVAILABLE. #54
[0.1.6] - 2019-06-30
Changed
- Minor change of RDRAND AMD bug handling. #48
[0.1.5] - 2019-06-29
Fixed
- Use shared
Fileinstead of shared file descriptor. #44 - Workaround for RDRAND hardware bug present on some AMD CPUs. #43
Changed
- Try
getentropyand then fallback to/dev/randomon macOS. #38
[0.1.4] - 2019-06-28
Added
- Add support for
x86_64-unknown-uefitarget by using RDRAND with CPUID feature detection. #30
Fixed
- Fix long buffer issues on Windows and Linux. #31 #32
- Check
EPERMin addition toENOSYSon Linux. #37
Changed
- Improve efficiency by sharing file descriptor across threads. #13
- Remove
cloudabi,winapi, andfuchsia-cprngdependencies. #40 - Improve RDRAND implementation. #24
- Don't block during syscall detection on Linux. #26
- Increase consistency with libc implementation on FreeBSD. #36
- Apply
rustfmt. #39
[0.1.3] - 2019-05-15
- Update for
wasm32-unknown-wasibeing renamed towasm32-wasi, and for WASI being categorized as an OS.
[0.1.2] - 2019-04-06
- Add support for
wasm32-unknown-wasitarget.
[0.1.1] - 2019-04-05
- Enable std functionality for CloudABI by default.
[0.1.0] - 2019-03-23
Publish initial implementation.
[0.0.0] - 2019-01-19
Publish an empty template library.