aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-14 10:35:52 -0800
committerRobin Krahl <robin.krahl@ireas.org>2019-01-14 20:30:59 +0100
commit77aa0e51962880c170d924fa735f2268772a0652 (patch)
treee7b7286978d41f72894035f02a65ccbdd7a075df /CHANGELOG.md
parentc34b56b2b4c317947fd8fd3ae6c1fa3a773ee775 (diff)
downloadnitrokey-rs-77aa0e51962880c170d924fa735f2268772a0652.tar.gz
nitrokey-rs-77aa0e51962880c170d924fa735f2268772a0652.tar.bz2
Use rand_os for random data generation
The rand crate comes with a slew of dependencies to cover all sort of randomness related tasks in various scenarios. However, this crate really only requires a tiny subset of this functionality. As it turns out, this core functionality is provided by the rand_os crate. This change drops the dependency to rand in favor of rand_os. In order to accomplish that, it brings back the RngError variant for the CommandError enum to capture the possibility of the creation of the random number generator failing.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4969c00..51d2b1e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,8 @@
# Unreleased
- Add the `get_production_info` and `clear_new_sd_card_warning` methods to the
`Storage` struct.
+- Use `rand_os` instead of `rand` for random data creation.
+ - (Re-)add `CommandError::RngError` variant.
# v0.3.2 (2019-01-12)
- Make three additional error codes known: `CommandError::StringTooLong`,