diff --git a/Cargo.lock b/Cargo.lock index f372bafba8..c7f322a444 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,7 +3,7 @@ name = "userutils" version = "0.1.0" dependencies = [ "argon2rs 0.2.5 (git+https://github.com/redox-os/argon2rs.git)", - "rand 0.3.14 (git+https://github.com/redox-os/rand.git)", + "rand 0.3.14 (git+https://github.com/redox-os/rand.git?branch=redox)", "redox_syscall 0.1.0 (git+https://github.com/redox-os/syscall.git)", "termion 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -43,7 +43,10 @@ replace = "libc 0.2.17 (git+https://github.com/redox-os/liblibc.git?branch=redox [[package]] name = "rand" version = "0.3.14" -source = "git+https://github.com/redox-os/rand.git#ef2e59549dc2f78f9942ee978b2a31ca06e413b9" +source = "git+https://github.com/redox-os/rand.git?branch=redox#74797f73a79e3356c65d52fb9d6447da3c3d99c9" +dependencies = [ + "libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", +] [[package]] name = "redox_syscall" @@ -64,6 +67,6 @@ dependencies = [ "checksum constant_time_eq 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "07dcb7959f0f6f1cf662f9a7ff389bcb919924d99ac41cf31f10d611d8721323" "checksum libc 0.2.17 (git+https://github.com/redox-os/liblibc.git?branch=redox)" = "" "checksum libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)" = "044d1360593a78f5c8e5e710beccdc24ab71d1f01bc19a29bcacdba22e8475d8" -"checksum rand 0.3.14 (git+https://github.com/redox-os/rand.git)" = "" +"checksum rand 0.3.14 (git+https://github.com/redox-os/rand.git?branch=redox)" = "" "checksum redox_syscall 0.1.0 (git+https://github.com/redox-os/syscall.git)" = "" "checksum termion 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b38671f376ed6147ce4bc7df3f216f68631beb17433c205e2adb30a2d6b33e45" diff --git a/Cargo.toml b/Cargo.toml index 47708e53df..801b983bbe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ name = "sudo" path = "src/bin/sudo.rs" [dependencies] -rand = { git = "https://github.com/redox-os/rand.git" } +rand = { git = "https://github.com/redox-os/rand.git", branch = "redox" } redox_syscall = { git = "https://github.com/redox-os/syscall.git" } termion = "1.1"