<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/testing.rs, branch derive-traits</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=derive-traits</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=derive-traits'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2021-12-06T20:11:03Z</updated>
<entry>
<title>tor-netdir: Use reproducible RNG in tests.</title>
<updated>2021-12-06T20:11:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-06T20:06:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d33d7f7fdd4a2aacbbad71a74a9b10043771695a'/>
<id>urn:sha1:d33d7f7fdd4a2aacbbad71a74a9b10043771695a</id>
<content type='text'>
The rand crate's documentation says it's not okay to rely on StdRng
having reproducible output.  So instead, let's switch to ChaCha12Rng
instead (which is what StrRng currently uses).
</content>
</entry>
<entry>
<title>More typo fixes that I forgot to save :(</title>
<updated>2021-11-24T23:23:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-24T23:23:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3e7e599a22972135f9c113a9a1e0757d22653481'/>
<id>urn:sha1:3e7e599a22972135f9c113a9a1e0757d22653481</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace weighted-choice code with rand::seq::SliceRandom.</title>
<updated>2021-09-08T16:22:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-09-08T16:22:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0468b41f3306b334f45fb767e5a3ba76c8bd7208'/>
<id>urn:sha1:0468b41f3306b334f45fb767e5a3ba76c8bd7208</id>
<content type='text'>
Doing this makes the code faster, lets us throw away some code, and
makes it easier to add a "choose-N-disjoint relays" implementation.

See large comment about plusses and minuses of new code.  (Note that
the old implementation wasn't constant-time either.)
</content>
</entry>
</feed>
