<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-basic-utils/src, branch arti-v1.2.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.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-10-10T11:56:05Z</updated>
<entry>
<title>tor-basic-utils: Seal IoErrorExt</title>
<updated>2023-10-10T11:56:05Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-10T11:56:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=205f46d710dbec208cde8232123cfe428c6c68aa'/>
<id>urn:sha1:205f46d710dbec208cde8232123cfe428c6c68aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Resolve warnings about ambiguous/redundant doc links</title>
<updated>2023-08-22T13:00:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-22T13:00:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=80c921c6377a651ae6d6d5f65fb55f4884220416'/>
<id>urn:sha1:80c921c6377a651ae6d6d5f65fb55f4884220416</id>
<content type='text'>
Nightly rustdoc now warns if you have a link that isn't necessary,
and if you have a link that might refer to two different things.
</content>
</entry>
<entry>
<title>Run add_warnings on all files.</title>
<updated>2023-08-04T11:45:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-04T11:45:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cec6d0ce33b4b5cebbce57f55faec83397e9c953'/>
<id>urn:sha1:cec6d0ce33b4b5cebbce57f55faec83397e9c953</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'clippy-allow' into 'main'</title>
<updated>2023-07-11T09:37:42Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2023-07-11T09:37:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3acc2af4f3411588f80669ae1980679dd260b119'/>
<id>urn:sha1:3acc2af4f3411588f80669ae1980679dd260b119</id>
<content type='text'>
clippy: Allow some of our existing code patterns

See merge request tpo/core/arti!1396</content>
</entry>
<entry>
<title>rng docs: Fix two links</title>
<updated>2023-07-10T15:08:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-10T15:04:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=24bec4552b0ab50c7e4f72d38d17ac2877371f08'/>
<id>urn:sha1:24bec4552b0ab50c7e4f72d38d17ac2877371f08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rng ranges: Provide examples (doctests)</title>
<updated>2023-07-10T15:08:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-10T14:53:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a0a17e4074375b7a80dc17b092797a4c9d2d67b8'/>
<id>urn:sha1:a0a17e4074375b7a80dc17b092797a4c9d2d67b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rng ranges: Forbid use of panicky Rng::gen_range</title>
<updated>2023-07-10T15:08:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-07T12:34:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d1ed505b617f0157251bbff049cd89f3a936d44b'/>
<id>urn:sha1:d1ed505b617f0157251bbff049cd89f3a936d44b</id>
<content type='text'>
Fixes #920
</content>
</entry>
<entry>
<title>rng ranges: Introduce gen_range_infallible</title>
<updated>2023-07-10T15:07:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-07T13:23:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=09f0ecaa71358cdcb0192829c48a7ade66b8f1d3'/>
<id>urn:sha1:09f0ecaa71358cdcb0192829c48a7ade66b8f1d3</id>
<content type='text'>
There are a number of places where we generate random Durations
in a range which starts at zero.

These call sites currently (i) have to write out Duration::ZERO
or equivalent, and (ii) would have to use gen_range_checked and expect
the result, even though it can be statically proven to be OK.

To make this slightly smoother, provide `GenRangeInfallible` and
`gen_range_infallible`.
</content>
</entry>
<entry>
<title>tor-basic-utils: retry: Use and justify gen_range_checked</title>
<updated>2023-07-10T15:07:18Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-07T12:43:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=36f998b69029612b5cab36c4338b632eb3750ad8'/>
<id>urn:sha1:36f998b69029612b5cab36c4338b632eb3750ad8</id>
<content type='text'>
delay_bounds's implementation ensures the postcondition, so the
potential p[anic in next_delay_msec cannot happen.
</content>
</entry>
</feed>
