<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/clippy.toml, branch arti-v2.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-07-23T10:13:34Z</updated>
<entry>
<title>clippy config: Forbid TimeRangeBound::if_valid_now</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-20T16:55:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9931210ab6943371401435a7a4bdcb091805caa5'/>
<id>urn:sha1:9931210ab6943371401435a7a4bdcb091805caa5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clippy: Add an xref re random_range to the comment</title>
<updated>2026-05-13T13:10:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-13T13:10:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6c96094166f0a33ba03fdd1743b84d6242e25502'/>
<id>urn:sha1:6c96094166f0a33ba03fdd1743b84d6242e25502</id>
<content type='text'>
As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3982#note_3410614
</content>
</entry>
<entry>
<title>clippy: disallow random_range standalone method too</title>
<updated>2026-05-13T13:10:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-13T11:36:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=064b0a92c0666f9e37de18e4b819fad6b36b922f'/>
<id>urn:sha1:064b0a92c0666f9e37de18e4b819fad6b36b922f</id>
<content type='text'>
Upstream rand have provided a convenient alias for causing your
program to panic.  How helpful.
</content>
</entry>
<entry>
<title>clippy: Work around bug where it claims method doesn't exist</title>
<updated>2026-05-13T13:10:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-13T11:17:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1578e0644e5da7f4db0169250c2eac9f2291e7d8'/>
<id>urn:sha1:1578e0644e5da7f4db0169250c2eac9f2291e7d8</id>
<content type='text'>
Fixes

warning: `rand::RngExt::random_range` does not refer to a reachable function
 --&gt; /volatile/rustcargo/Rustup/Arti/arti/clippy.toml:7:5
  |
7 |     { path = "rand::RngExt::random_range", reason = "Prefer tor_basic_utils::RngExt::gen_range_checked to avoid uncontrolled panics, or gen_range_infallible if applicable" },
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: add `allow-invalid = true` to the entry to suppress this warning
</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>clippy.toml: Forbid the various "now" methods.</title>
<updated>2026-03-26T19:20:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-03-26T16:10:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7b0ac40f948aeb73afa81c4f868531640da01f62'/>
<id>urn:sha1:7b0ac40f948aeb73afa81c4f868531640da01f62</id>
<content type='text'>
By doing this, we make sure that everybody is using the correct
types and methods.
</content>
</entry>
<entry>
<title>maint: warn if `retain` method is used from 'weak_table' crate</title>
<updated>2026-01-12T19:21:28Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-01-12T19:17:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2f68289ada062ad1da80cc028cbf8393d516ccb9'/>
<id>urn:sha1:2f68289ada062ad1da80cc028cbf8393d516ccb9</id>
<content type='text'>
The retain method is broken on these types. I only tested
`WeakValueHashMap` and `WeakHashSet`, but it's likely that the other
types are broken as well.

We don't use this method currently, but it would be easy to accidentally
use it in the future. Let's try to catch this bug early, and if it
happens to get fixed, then it's easy to remove this lint.
</content>
</entry>
<entry>
<title>refactor: convert Extend to inherent method, forbid push/extend, fix rend_handshake time</title>
<updated>2025-12-17T14:48:03Z</updated>
<author>
<name>Nihal</name>
<email>4218-nihalxkumar@gitlab.torproject.org</email>
</author>
<published>2025-12-11T15:33:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5ad66c991c71f21e307fd5f78d09b099685a5520'/>
<id>urn:sha1:5ad66c991c71f21e307fd5f78d09b099685a5520</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: remove early returns and forbid push() via clippy</title>
<updated>2025-12-17T14:48:03Z</updated>
<author>
<name>Nihal</name>
<email>4218-nihalxkumar@gitlab.torproject.org</email>
</author>
<published>2025-12-10T13:28:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=294d34ec95338966e56063150050ddd4d85fa1ba'/>
<id>urn:sha1:294d34ec95338966e56063150050ddd4d85fa1ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>maint: add clippy warning for `futures::task::SpawnExt`</title>
<updated>2025-11-05T02:59:43Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-11-05T02:59:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=55d236af4485cbee7a0bdc8f9a1d52e05d7b3760'/>
<id>urn:sha1:55d236af4485cbee7a0bdc8f9a1d52e05d7b3760</id>
<content type='text'>
</content>
</entry>
</feed>
