Skip to content

Commit

Permalink
Upgrade rand
Browse files Browse the repository at this point in the history
(cherry picked from commit c7d9792)
  • Loading branch information
sfackler committed Aug 27, 2018
1 parent e03f536 commit 9098872
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phf_generator/Cargo.toml
Expand Up @@ -8,5 +8,5 @@ repository = "https://github.com/sfackler/rust-phf"
documentation = "https://docs.rs/phf_generator/0.7.22/phf_generator"

[dependencies]
rand = "0.4"
rand = "0.5"
phf_shared = { version = "=0.7.22", path = "../phf_shared" }
2 changes: 1 addition & 1 deletion phf_generator/src/lib.rs
Expand Up @@ -7,7 +7,7 @@ use rand::{SeedableRng, XorShiftRng, Rng};

const DEFAULT_LAMBDA: usize = 5;

const FIXED_SEED: [u32; 4] = [3141592653, 589793238, 462643383, 2795028841];
const FIXED_SEED: [u8; 16] = *b"\xec\x58\xdf\xa7\x46\x41\xaf\x52\xad\x0d\x16\xe7\x7d\x57\x66\x23";

pub struct HashState {
pub key: u64,
Expand Down

0 comments on commit 9098872

Please sign in to comment.