From 3fb564ff19e5b93005c67aca704c596bf5c9a4b8 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Sun, 13 Jun 2021 17:46:45 -0700 Subject: [PATCH] More rand version bump. --- rtiow/Cargo.lock | 14 ++++++++++++-- rtiow/noise_explorer/Cargo.toml | 3 ++- rtiow/noise_explorer/src/main.rs | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/rtiow/Cargo.lock b/rtiow/Cargo.lock index 544c5fa..b389e2b 100644 --- a/rtiow/Cargo.lock +++ b/rtiow/Cargo.lock @@ -1363,7 +1363,8 @@ dependencies = [ "askama", "image", "log 0.4.8", - "rand 0.5.6", + "rand 0.8.3", + "rand_xorshift 0.3.0", "renderer", "serde", "serde_derive", @@ -1668,7 +1669,7 @@ dependencies = [ "rand_jitter", "rand_os", "rand_pcg", - "rand_xorshift", + "rand_xorshift 0.1.1", "winapi 0.3.8", ] @@ -1840,6 +1841,15 @@ dependencies = [ "rand_core 0.3.1", ] +[[package]] +name = "rand_xorshift" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" +dependencies = [ + "rand_core 0.6.2", +] + [[package]] name = "rand_xoshiro" version = "0.1.0" diff --git a/rtiow/noise_explorer/Cargo.toml b/rtiow/noise_explorer/Cargo.toml index 96ed27f..437f4cf 100644 --- a/rtiow/noise_explorer/Cargo.toml +++ b/rtiow/noise_explorer/Cargo.toml @@ -11,7 +11,8 @@ actix-web = "0.7.8" askama = "0.7.1" image = "0.22.3" log = "0.4.5" -rand = "0.5.5" +rand = "0.8.3" +rand_xorshift = "0.3.0" renderer = { path = "../renderer" } serde = "1.0.79" serde_derive = "1.0.79" diff --git a/rtiow/noise_explorer/src/main.rs b/rtiow/noise_explorer/src/main.rs index 82070ca..c38d682 100644 --- a/rtiow/noise_explorer/src/main.rs +++ b/rtiow/noise_explorer/src/main.rs @@ -14,7 +14,7 @@ use askama::Template; use image; use log::info; use rand::SeedableRng; -use rand::XorShiftRng; +use rand_xorshift::XorShiftRng; use serde_derive::Deserialize; use structopt::StructOpt;