<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/hashx/src, branch arti-v2.4.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.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-05-12T20:55:43Z</updated>
<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>hashx: Bump dynasmrt to 5.0.0</title>
<updated>2026-03-04T10:46:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-03T18:28:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7435c2e7db92aded1c267201947f77f5d7dacdcf'/>
<id>urn:sha1:7435c2e7db92aded1c267201947f77f5d7dacdcf</id>
<content type='text'>
Contains a small code change as `bare_relocation()` was replaced with
`value_relocation()`.
</content>
</entry>
<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>
</feed>
