<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/lib.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-07-15T18:05:29Z</updated>
<entry>
<title>Remove now-unneeded allow(clippy::cognitive_complexity)</title>
<updated>2026-07-15T18:05:29Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-07-15T18:05:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e4c00405e703b6e274af2e3cfb000cab5a7c7837'/>
<id>urn:sha1:e4c00405e703b6e274af2e3cfb000cab5a7c7837</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add_warning: add reference to arti#2556</title>
<updated>2026-07-15T17:56:49Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-07-15T17:56:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6d333d6e6f0bf4d75fdc81e8865e06f6537d5af6'/>
<id>urn:sha1:6d333d6e6f0bf4d75fdc81e8865e06f6537d5af6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed unnecessary lint</title>
<updated>2026-07-15T17:16:51Z</updated>
<author>
<name>pryty26</name>
<email>238962075+pryty26@users.noreply.github.com</email>
</author>
<published>2026-07-15T17:07:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d12e408c1d62f29e58647c91a2714c49e3004cc4'/>
<id>urn:sha1:d12e408c1d62f29e58647c91a2714c49e3004cc4</id>
<content type='text'>
Removed unnecessary lint
</content>
</entry>
<entry>
<title>Remove renaming aliases for MicrodescAndHash</title>
<updated>2026-06-22T17:00:31Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T19:36:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0d697eccea93dc45d781b2f5ece917aa057000f2'/>
<id>urn:sha1:0d697eccea93dc45d781b2f5ece917aa057000f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Break Microdesc up into Microdesc and MicrodescAndHash</title>
<updated>2026-06-22T16:59:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T19:32:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=479acbf246db677d4139bca317cb0e3d1fd9340a'/>
<id>urn:sha1:479acbf246db677d4139bca317cb0e3d1fd9340a</id>
<content type='text'>
The Microdesc type having a copy of the document hash was always
weird, and it's weirder now that there's all these parse2 types that
don't have it and parse2 derives on Microdesc that don't touch it.

Make a new type for the descriptor and its hash.

Use deref to arrange that the new type works almost like the old one.

Adjust the use lines in the dependencies to temporarily import
MicrodescAndHash as Microdesc.
</content>
</entry>
<entry>
<title>pick_n_weighted: change variable names for clarity</title>
<updated>2026-06-17T21:54:20Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-06-17T21:48:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b6ab42b604f326b86090fa627168b4198c6eeb95'/>
<id>urn:sha1:b6ab42b604f326b86090fa627168b4198c6eeb95</id>
<content type='text'>
"iter" wasn't an iterator per se. Changed it to "sampled_items", and
renamed other variables to call the items more generically "items" than
"relay", since the mixed usage was a little confusing, and the function
doesn't really know anything about relays.
</content>
</entry>
<entry>
<title>NetDir::pick_n_relays and pick_n_weighted: clarify/fix docs re zero-weight items</title>
<updated>2026-06-17T21:54:20Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-06-16T21:22:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d1a2f905d50b10c849ba39f984f5436b05e37341'/>
<id>urn:sha1:d1a2f905d50b10c849ba39f984f5436b05e37341</id>
<content type='text'>
</content>
</entry>
<entry>
<title>NetDir::pick_n_weighted: fix doc-comment to not refer to</title>
<updated>2026-06-17T21:54:20Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-06-16T21:12:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=17bb7b1b7ce80ffcc73a31e3a2a586a722f047da'/>
<id>urn:sha1:17bb7b1b7ce80ffcc73a31e3a2a586a722f047da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename NetDir::pick_n_filtered_weighted -&gt; pick_n_weighted</title>
<updated>2026-06-17T21:54:20Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-06-16T21:08:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=495138dbcee039d0c539bf0b26c4bbc9e269eb17'/>
<id>urn:sha1:495138dbcee039d0c539bf0b26c4bbc9e269eb17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pick_n_filtered_weighted: move warnings logs to caller</title>
<updated>2026-06-17T21:54:20Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-06-15T23:34:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=06233fce3168706d96874a28b72147e6424fe5cb'/>
<id>urn:sha1:06233fce3168706d96874a28b72147e6424fe5cb</id>
<content type='text'>
We have more useful context in the caller, `pick_n_relays`.
</content>
</entry>
</feed>
