<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir, branch arti-v1.4.2</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-03-31T17:59:51Z</updated>
<entry>
<title>Bump all the unstable tor- and arti- crates to 0.29.0.</title>
<updated>2025-03-31T17:59:51Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-03-31T17:34:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1be579f99a7c0784bd7710f9ee6ee9a6b10c85df'/>
<id>urn:sha1:1be579f99a7c0784bd7710f9ee6ee9a6b10c85df</id>
<content type='text'>
Done using:

```
for crate in $(./maint/list_crates  | rg '^(tor|arti-)'); do
    cargo set-version -p $crate 0.29.0
done
```
</content>
</entry>
<entry>
<title>Upgrade strum dependency to 0.27.1.</title>
<updated>2025-03-27T14:18:29Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-03-27T11:53:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2253d7695e58565d8ddc6d0b014489726554fb1f'/>
<id>urn:sha1:2253d7695e58565d8ddc6d0b014489726554fb1f</id>
<content type='text'>
In 0.27.0, strum's MSRV was bumped to 1.66.1, but that's okay because
ours is 1.77.

We aren't affected by any of its [breaking changes].

[breaking changes]: https://github.com/Peternator7/strum/blob/master/CHANGELOG.md#0270
</content>
</entry>
<entry>
<title>netdir: Add a (hopefully) temporary workaround</title>
<updated>2025-03-25T12:05:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-24T18:46:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=57c7a289513e2f0faf0844c6dee7513a59e703f3'/>
<id>urn:sha1:57c7a289513e2f0faf0844c6dee7513a59e703f3</id>
<content type='text'>
Instead of doing the more sensible thing when every relay has weight
0, give a warning message.
</content>
</entry>
<entry>
<title>netdir: Add a note about using f64</title>
<updated>2025-03-25T12:05:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-24T13:09:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=85cabc6db475f330fc52dbc8f93ab39e988b9118'/>
<id>urn:sha1:85cabc6db475f330fc52dbc8f93ab39e988b9118</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdir: Another test for choose_multiple_weighted.</title>
<updated>2025-03-25T12:05:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-24T12:57:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c411a9d7394477cc9ad4dc6b5f3813cbe23a359'/>
<id>urn:sha1:8c411a9d7394477cc9ad4dc6b5f3813cbe23a359</id>
<content type='text'>
Here we test the (arguably inconsistent behavior) where can we
return fewer items than requested if no item had zero weight.
(If this ever becomes an error, we need to modify the calling code.)
</content>
</entry>
<entry>
<title>netdir: Warn on unexpected WeightedErrors</title>
<updated>2025-03-25T12:05:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-24T12:49:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=80553fb534303f7a10c34c5a52b90ae875eb0620'/>
<id>urn:sha1:80553fb534303f7a10c34c5a52b90ae875eb0620</id>
<content type='text'>
WeightedError::InsufficientNonzero is expected under some
circumstances, but the other instances would mean that we have a
bug.
</content>
</entry>
<entry>
<title>netdir: add a test to verify weighted sampling</title>
<updated>2025-03-25T12:05:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-24T12:34:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=69bf56db10dfc9ab439360c24e34988316630856'/>
<id>urn:sha1:69bf56db10dfc9ab439360c24e34988316630856</id>
<content type='text'>
We want to make sure that behavior for 0-weighted elements is
consistent for choose_multiple_weighted and choose_weighted.
</content>
</entry>
<entry>
<title>tor-netdir: Handle InsufficientNonZero error.</title>
<updated>2025-03-20T19:06:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-20T19:06:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a4ef9d0677f1e6b873189b8cd7360bec31a8edd9'/>
<id>urn:sha1:a4ef9d0677f1e6b873189b8cd7360bec31a8edd9</id>
<content type='text'>
Possible fix for #1902.
</content>
</entry>
<entry>
<title>Merge branch 'named_protovers' into 'main'</title>
<updated>2025-03-20T17:10:03Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-03-20T17:10:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4727e71c790f96bb84723bbf5afc4bc3aa35136e'/>
<id>urn:sha1:4727e71c790f96bb84723bbf5afc4bc3aa35136e</id>
<content type='text'>
protover: Add support for subprotocol version mnemonics.

Closes #1891

See merge request tpo/core/arti!2854</content>
</entry>
<entry>
<title>squash! Upgrade rand dependency to 0.9.</title>
<updated>2025-03-18T16:09:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-18T14:47:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=895bc807f106e359d35522a3ad5f288ba6cf6a9c'/>
<id>urn:sha1:895bc807f106e359d35522a3ad5f288ba6cf6a9c</id>
<content type='text'>
- The Rng::gen() functions have been renamed to Rng::random().
</content>
</entry>
</feed>
