<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/hashx/src, branch arti-v1.9.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.9.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.9.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-11-20T14:27:24Z</updated>
<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>
<entry>
<title>Remove "doc_auto_cfg" incantation from all crates.</title>
<updated>2025-09-29T19:30:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-09-29T18:30:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=808b0ec2e3735a6dbbebeb857a3d6040ae02c697'/>
<id>urn:sha1:808b0ec2e3735a6dbbebeb857a3d6040ae02c697</id>
<content type='text'>
This feature has been removed from nightly, in favor of doc_cfg.
</content>
</entry>
<entry>
<title>Rename variables named "gen"</title>
<updated>2025-08-07T15:28:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T02:01:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9da44e30b2b61e80ca8cc89db272d9406347385d'/>
<id>urn:sha1:9da44e30b2b61e80ca8cc89db272d9406347385d</id>
<content type='text'>
This is now a reserved identifier.  The automatic migration
changed it to a raw identifier (`r#gen`), but it's better to use a
different name.
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
</feed>
