From e34f45d954f47cf45b99155976b89c66640980f5 Mon Sep 17 00:00:00 2001 From: Noah Vesely Date: Fri, 16 Mar 2018 15:32:58 -0600 Subject: [PATCH] Update rand to ^0.4.2 RustySecrets makes minimal use of the rand library. It only initializes the `ChaChaRng` with a seed, and `OsRng` in the standard way, and then calls their `fill_bytes` methods, provided by the same Trait, and whose function signature has not changed. I have confirmed by looking at the code changes, that there have been no changes to the relevant interfaces this library uses. --- Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 366668b..5569a8d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ dss = [] [dependencies] base64 = "0.9.0" -rand = "^0.3" +rand = "^0.4.2" ring = "^0.12" merkle_sigs = "^1.4" protobuf = ">= 1.4, < 1.6" @@ -63,4 +63,3 @@ tag-prefix = "v" tag-message = "Release version {{version}}." doc-commit-message = "Update documentation." dev-version-ext = "pre" -