<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/lib.rs, branch arti-v0.5.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-06-23T18:15:42Z</updated>
<entry>
<title>Run maint/add_warning crates/*/src/{lib,main}.rs</title>
<updated>2022-06-23T18:15:42Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-23T18:15:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=589c6e52bb49ccfe6c0ad9d18d6b994978e46c6c'/>
<id>urn:sha1:589c6e52bb49ccfe6c0ad9d18d6b994978e46c6c</id>
<content type='text'>
Update all lint blocks
</content>
</entry>
<entry>
<title>tor-netdir: testnet: Make construct_netdir infallible</title>
<updated>2022-06-13T13:25:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-13T13:25:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d223ac9e6c6d998d51a2d66baaeddea086dca37'/>
<id>urn:sha1:7d223ac9e6c6d998d51a2d66baaeddea086dca37</id>
<content type='text'>
This is a *lot* of unwraps.  The function takes no parameters and
is used only for testing.  It ought to be infallible.
</content>
</entry>
<entry>
<title>Merge branch 'use-testing-rng'</title>
<updated>2022-06-07T23:02:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-07T23:02:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5854e4bbd9d1e3d92433a2cf9549109fc3a4eff9'/>
<id>urn:sha1:5854e4bbd9d1e3d92433a2cf9549109fc3a4eff9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make NetDirProvider require Send and Sync.</title>
<updated>2022-06-07T15:44:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-02T21:07:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2223398eb1670c159151bc9aae5fed346b88c904'/>
<id>urn:sha1:2223398eb1670c159151bc9aae5fed346b88c904</id>
<content type='text'>
Our own code is the only stuff that consumes NetDirProvider, and all
the code that consumes it wants it to be Send and Sync.

Making this change avoids our having to define a new function to
upcast Arc&lt;dyn Foo&gt; to Arc&lt;dyn NetDirProvider + Send + Sync&gt;.
</content>
</entry>
<entry>
<title>Add an upcast_arc function to NetDirProvider.</title>
<updated>2022-06-02T21:06:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-02T20:53:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0e6a54351d12ad62a3b8146c50855b065c4584bf'/>
<id>urn:sha1:0e6a54351d12ad62a3b8146c50855b065c4584bf</id>
<content type='text'>
This uses some apparently-standard trickery to implement a function
that lets us upcast from Arc&lt;dyn Subtrait&gt; to Arc&lt;dyn Supertrait&gt;.

I considered as alternatives `as_dyn_trait` and `cast_dyn_object`.
Both were nice, but generated a far larger interface than this.
</content>
</entry>
<entry>
<title>Rewrite tests in tor-netdir to use testing_rng()</title>
<updated>2022-06-02T19:48:41Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-02T19:39:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1076f25031c16fdccbc80f3d16882b1267c2a800'/>
<id>urn:sha1:1076f25031c16fdccbc80f3d16882b1267c2a800</id>
<content type='text'>
The randomized tests in this crate take a lot of iterations to
converge, so they default to using a deterministic PRNG seed with
few iterations and higher tolerance, and they only randomize the
tests (with more iterations and tighter tolerances) when you
explicitly opt in to randomization.

(If you specify a seed explicitly, you're doing that to reproduce a
randomized case, so we use the same behavior.)
</content>
</entry>
<entry>
<title>lints: Add let_unit_value allow to all crates</title>
<updated>2022-05-31T14:23:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-31T10:46:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4f42101554822c44782c164cac0051e3b4055abd'/>
<id>urn:sha1:4f42101554822c44782c164cac0051e3b4055abd</id>
<content type='text'>
From running add_warning, with manual picking of the right
hunks/lines.
</content>
</entry>
<entry>
<title>lints: Add lint block delimiters to every crate</title>
<updated>2022-05-31T12:00:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-30T17:43:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ba0843da4a7ba1e63846a286b870b893092e0a4f'/>
<id>urn:sha1:ba0843da4a7ba1e63846a286b870b893092e0a4f</id>
<content type='text'>
This was the result of:
  maint/add_warning crates/*/src/{lib,main}.rs
and then manually curating the results.
</content>
</entry>
<entry>
<title>Fix grammar and typos</title>
<updated>2022-04-27T12:52:13Z</updated>
<author>
<name>Samanta Navarro</name>
<email>ferivoz@riseup.net</email>
</author>
<published>2022-04-23T11:51:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c53818d496c910de4dfc4bc8d1f53e419fbf7408'/>
<id>urn:sha1:c53818d496c910de4dfc4bc8d1f53e419fbf7408</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move fallback.rs into guardmgr.</title>
<updated>2022-03-30T14:34:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-25T17:38:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=80b65c3a4d4108c6b4b0cb91722f89c8e5859b7d'/>
<id>urn:sha1:80b65c3a4d4108c6b4b0cb91722f89c8e5859b7d</id>
<content type='text'>
This is the logical place for it, I think: the GuardMgr's job is to
pick the first hop for a circuit depending on remembered status for
possible first hops.  Making this change will let us streamline the
code that interacts with these objects.
</content>
</entry>
</feed>
