<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/hashx/src, branch arti-v2.1.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-02-16T15:22:24Z</updated>
<entry>
<title>hashx: Use .is_multiple_of() as recommended by clippy</title>
<updated>2026-02-16T15:22:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-09T12:37:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f637aa7288a5dd7263873ebbb101fc2c98510fe3'/>
<id>urn:sha1:f637aa7288a5dd7263873ebbb101fc2c98510fe3</id>
<content type='text'>
I'm applying the clippy suggestion, even though in this case, using
`is_multiple_of()` instead of `%` is a bit questionable IMO, because the
`% 3` operation can never panic.
</content>
</entry>
<entry>
<title>Allow clippy::collapsible_if to trigger</title>
<updated>2026-02-16T15:22:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-09T11:49:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ade1d59e8e44c93b6ee447b72a2948a9652ec44e'/>
<id>urn:sha1:ade1d59e8e44c93b6ee447b72a2948a9652ec44e</id>
<content type='text'>
`clippy::collapsible_if` started triggering after bumping the MSRV to
1.88.

Since this triggers from a lot of places, and since there even are a
couple of instances where we explicitly allow `clippy::collapsible_ifs`,
I've opened #2342 for deciding what to do about it.
</content>
</entry>
<entry>
<title>maint/add_warning: Run script to add new warning</title>
<updated>2026-01-27T18:05:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-27T18:05:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a98faf72eb06b47700faeeac5a8a0dd0fc29b584'/>
<id>urn:sha1:a98faf72eb06b47700faeeac5a8a0dd0fc29b584</id>
<content type='text'>
This adds the lint to all our crates.
</content>
</entry>
<entry>
<title>hashx: Gate as_u8() behind the compiler feature</title>
<updated>2025-11-20T14:27:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-11-20T14:27:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3b1d9f24554ca3cc7c8175eba416ce92560cebc4'/>
<id>urn:sha1:3b1d9f24554ca3cc7c8175eba416ce92560cebc4</id>
<content type='text'>
This resolves a dead code warning when building without the `compiler`
feature:

```
warning: method `as_u8` is never used
  --&gt; crates/hashx/src/register.rs:39:19
   |
27 | impl RegisterId {
   | --------------- method in this implementation
...
39 |     pub(crate) fn as_u8(&amp;self) -&gt; u8 {
   |                   ^^^^^
   |
   = note: `#[warn(dead_code)]` on by default
```
</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>hashx: A couple of comments about register ranges</title>
<updated>2025-10-08T14:00:07Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-10-08T13:55:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ea75d75ad6962f6cd684aad09510ebb3fc1f94d3'/>
<id>urn:sha1:ea75d75ad6962f6cd684aad09510ebb3fc1f94d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hashx: Make exceptions for clippy warnings from dynasm.</title>
<updated>2025-10-08T14:00:07Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-10-07T19:21:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc3e0565d10bf6d67ea7e872a8fee35a1f457bf9'/>
<id>urn:sha1:bc3e0565d10bf6d67ea7e872a8fee35a1f457bf9</id>
<content type='text'>
The new conversion mechanisms in dynasm 4.0 make clippy unhappy
under aarch64.
</content>
</entry>
<entry>
<title>hashx: Make RegisterId::x() return u8 on aarch64</title>
<updated>2025-10-07T19:18:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-10-07T19:18:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0d796189e5c24c5ac9454bb7eb66ced8216447d8'/>
<id>urn:sha1:0d796189e5c24c5ac9454bb7eb66ced8216447d8</id>
<content type='text'>
(Starting with version 4, dynasm wants something
that implements Into&lt;u8&gt;.)
</content>
</entry>
<entry>
<title>hashx: Provide a u8 accessor for RegisterId.</title>
<updated>2025-10-07T19:17:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-10-07T19:17:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bcc61d2c94d19f5eb4c0221388003edc2844056f'/>
<id>urn:sha1:bcc61d2c94d19f5eb4c0221388003edc2844056f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hashx: Fix/ignore clippy lints.</title>
<updated>2025-10-06T17:28:07Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-10-06T17:28:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6f175184a4e1a0b1d3df99a13e85254a6b43b9ae'/>
<id>urn:sha1:6f175184a4e1a0b1d3df99a13e85254a6b43b9ae</id>
<content type='text'>
Some of these lints are in macros in a way that seems to make them
impossible to avoid, or at least, I can't figure out how to avoid them.
</content>
</entry>
</feed>
