Skip to content

Commit

Permalink
Merge 7dac144 into 315744e
Browse files Browse the repository at this point in the history
  • Loading branch information
chalharu authored Dec 27, 2018
2 parents 315744e + 7dac144 commit fdd6382
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ cfg-if = ">0.0.0"

[dev-dependencies]
simple_logger = { version = ">=0.0.0" }
rand = ">=0.5.0"
rand = ">=0.6.0"
rand_xorshift = ">=0.1.0"

[features]
default = [ "std", "bzip2", "gzip", "deflate", "zlib" ]
Expand Down
3 changes: 2 additions & 1 deletion src/deflate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ mod tests {
use alloc::vec::Vec;
use deflate::decoder::Deflater;
use deflate::encoder::Inflater;
use rand::{Rng, SeedableRng, XorShiftRng};
use rand::{Rng, SeedableRng};
use rand_xorshift::XorShiftRng;
use rand::distributions::Standard;
use traits::decoder::DecodeExt;
use traits::encoder::EncodeExt;
Expand Down
3 changes: 2 additions & 1 deletion src/gzip/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ mod tests {
use alloc::vec::Vec;
use gzip::decoder::GZipDecoder;
use gzip::encoder::GZipEncoder;
use rand::{Rng, SeedableRng, XorShiftRng};
use rand::{Rng, SeedableRng};
use rand_xorshift::XorShiftRng;
use rand::distributions::Standard;
use traits::decoder::DecodeExt;
use traits::encoder::EncodeExt;
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ extern crate alloc;
#[cfg(test)]
extern crate rand;
#[cfg(test)]
extern crate rand_xorshift;
#[cfg(test)]
extern crate simple_logger;

mod action;
Expand Down
3 changes: 2 additions & 1 deletion src/lzhuf/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ mod tests {
use alloc::vec::Vec;
use lzhuf::decoder::LzhufDecoder;
use lzhuf::encoder::LzhufEncoder;
use rand::{Rng, SeedableRng, XorShiftRng};
use rand::{Rng, SeedableRng};
use rand_xorshift::XorShiftRng;
use rand::distributions::Standard;
use traits::decoder::DecodeExt;
use traits::encoder::EncodeExt;
Expand Down
3 changes: 2 additions & 1 deletion src/zlib/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ mod tests {
use action::Action;
#[cfg(not(feature = "std"))]
use alloc::vec::Vec;
use rand::{Rng, SeedableRng, XorShiftRng};
use rand::{Rng, SeedableRng};
use rand_xorshift::XorShiftRng;
use rand::distributions::Standard;
use traits::decoder::DecodeExt;
use traits::encoder::EncodeExt;
Expand Down

0 comments on commit fdd6382

Please sign in to comment.