<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/src/weight.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-06-09T15:36:01Z</updated>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>Upgrade rand crates to 0.10.</title>
<updated>2026-05-12T20:55:43Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-05-07T20:06:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a18167928901d8c88cd1cdd87346de8ad1ee42a2'/>
<id>urn:sha1:a18167928901d8c88cd1cdd87346de8ad1ee42a2</id>
<content type='text'>
When the circ-padding feature is enabled, we use maybenot, which does
not yet support rand 0.10. In the meantime, enabling this feature pulls
in rand 0.9. This is not ideal, but should be okay as a temporary
situation.

This also replaces the use of ReseedingRng (which was removed in 0.10)
with the reseeding_rng crate. This is somewhat less performant, but it
should be okay.
</content>
</entry>
<entry>
<title>tor-netdir: port to web-time-compat.</title>
<updated>2026-03-26T19:20:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-03-26T14:42:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6eae1ddf077c7f06f3deb82a3b0235802717e1bf'/>
<id>urn:sha1:6eae1ddf077c7f06f3deb82a3b0235802717e1bf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>RelayFlags: Use RelayFlag enum variant names everywhere</title>
<updated>2025-11-18T19:50:23Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-18T18:55:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c37e44403416b7f1abbd62d080b698da35d04537'/>
<id>urn:sha1:c37e44403416b7f1abbd62d080b698da35d04537</id>
<content type='text'>
Abolish the constants with the transitional names.

This also abolishes the controversial name `H_S_DIR`, which Rust case
transformation rules generated from `HSDir`.
</content>
</entry>
<entry>
<title>RelayFlags: Use the singular RelayFlag for naming individual flags</title>
<updated>2025-11-18T19:44:21Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-18T18:36:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3245738729e1d93be48485f2877a9e17ba2e7f28'/>
<id>urn:sha1:3245738729e1d93be48485f2877a9e17ba2e7f28</id>
<content type='text'>
We're going to separate RelayFlag from RelayFlags.

We could continue to provide a bunch of constant values for
RelayFlags, for each individual type, but that would involve an ad-hoc
derive, and would still be a bit of an unusual API.

Instead, we're going to make ``RelayFlag` a normal enum.

In this commit, we change everyone to refer to it by its singular
name.  Hopefully separating out this bulk change makes both this, and
the core commit, easier to review.
</content>
</entry>
<entry>
<title>tor-netdoc: Remove the RelayFlags type alias in netstatus</title>
<updated>2025-11-18T17:06:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-10T14:52:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3ecd75a43c41a57288abe0a7da23a80ec89d23e0'/>
<id>urn:sha1:3ecd75a43c41a57288abe0a7da23a80ec89d23e0</id>
<content type='text'>
I would do `#[deprecated]` but empirically that has no effect...
</content>
</entry>
<entry>
<title>tor-netdoc: Rename RelayFlags elements for regularity vs spec</title>
<updated>2025-11-18T17:06:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-10-23T13:35:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f7317d7068884860c1d1a69e30eca962ee7da827'/>
<id>urn:sha1:f7317d7068884860c1d1a69e30eca962ee7da827</id>
<content type='text'>
Add underscores so that the spec keywords and the flag constants
correspond (according to `paste`'s case-changing rules).
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>tor-netdoc: Apply much rustfmt churn</title>
<updated>2025-08-26T09:41:21Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-08-20T18:10:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b6128c3fb592c141d7ff78b0b51bd95d7c962852'/>
<id>urn:sha1:b6128c3fb592c141d7ff78b0b51bd95d7c962852</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Combine ConsensusRouterStatus and GenericRouterStatus</title>
<updated>2025-08-26T09:41:21Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-08-21T09:34:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7bde61567649ea93e03a7ad63e94a949319c9f03'/>
<id>urn:sha1:7bde61567649ea93e03a7ad63e94a949319c9f03</id>
<content type='text'>
Now we only need one type.
</content>
</entry>
</feed>
