diff options
author | Isis Lovecruft <isis@torproject.org> | 2018-04-18 20:17:53 +0000 |
---|---|---|
committer | Isis Lovecruft <isis@torproject.org> | 2018-04-20 23:54:48 +0000 |
commit | b5013e841cf1501014ab23e14a4083c105e0d092 (patch) | |
tree | 0ee36e77b622d203fd8b60516f54472fec6ef133 /src/rust/Cargo.lock | |
parent | 49639b282602c5389e30f906f535c29ddaa62308 (diff) | |
download | tor-b5013e841cf1501014ab23e14a4083c105e0d092.tar.gz tor-b5013e841cf1501014ab23e14a4083c105e0d092.zip |
rust: Remove mirrored PRNG implementation.
Once we need a PRNG, we'll likely want to change the dev-dependency on the rand
crate to be a real dependency, and use rand::SmallRng as our PRNG.
Diffstat (limited to 'src/rust/Cargo.lock')
-rw-r--r-- | src/rust/Cargo.lock | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/rust/Cargo.lock b/src/rust/Cargo.lock index 714e29edc2..1480cf7962 100644 --- a/src/rust/Cargo.lock +++ b/src/rust/Cargo.lock @@ -28,6 +28,7 @@ version = "0.0.1" dependencies = [ "external 0.0.1", "libc 0.2.39 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.5.0-pre.0", "rand_core 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "tor_allocate 0.0.1", "tor_log 0.1.0", @@ -35,6 +36,17 @@ dependencies = [ ] [[package]] +name = "rand" +version = "0.5.0-pre.0" +dependencies = [ + "rand_core 0.1.0", +] + +[[package]] +name = "rand_core" +version = "0.1.0" + +[[package]] name = "rand_core" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" |