<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-checkable/src/timed.rs, branch arti-v2.5.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.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-10T14:42:10Z</updated>
<entry>
<title>tor-checkable: TimerangeBound: test edge cases</title>
<updated>2026-06-10T14:42:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-10T09:59:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8dad38573005e533d78e0be581901590ffd5a1fb'/>
<id>urn:sha1:8dad38573005e533d78e0be581901590ffd5a1fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-checkable: TimeRangebound: document inclusivity</title>
<updated>2026-06-10T14:42:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-10T08:54:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b3ff5544712722bd954a8fac4b90f9d3694d4273'/>
<id>urn:sha1:b3ff5544712722bd954a8fac4b90f9d3694d4273</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-checkable: TimerangeBound: is_valid: Treat bounds as inclusive (fmt)</title>
<updated>2026-06-10T14:41:46Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-04T14:11:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=da7de707ae1af8c5fbf1c583412da1aaf0918202'/>
<id>urn:sha1:da7de707ae1af8c5fbf1c583412da1aaf0918202</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-checkable: TimerangeBound: is_valid: Treat bounds as inclusive</title>
<updated>2026-06-10T14:41:46Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-04T14:07:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=28434bbe2a372354824b8424743e3ce8738bef46'/>
<id>urn:sha1:28434bbe2a372354824b8424743e3ce8738bef46</id>
<content type='text'>
This makes more sense because:

 * `start_bound` and `end_bound` return `Bound::Included`
 * It doesn't make sense to say that a document isn't valid at
   the very start of its validity period.  (And we don't want a half-open range.)
 * NotYetValid(0ns) and Expired(0ns) are rather nonsensical errors.

In real timeliness tests it will make no difference since the current
time is only equal to the bound for a nanosecond.  But tests that like
to test corner cases might be affected, and possibly some synthetic
situations (where the document's own validity time start is used
somehow) might change.
</content>
</entry>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>tor-checkable: Port to web-time-compat</title>
<updated>2026-03-26T19:20:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-03-26T13:23:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=40f1f116f49dd2815a94704e6ccc1b9c5a5a17e0'/>
<id>urn:sha1:40f1f116f49dd2815a94704e6ccc1b9c5a5a17e0</id>
<content type='text'>
</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>TimerangeBound: Stop using std::ops::Bound.</title>
<updated>2024-11-25T18:20:11Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2024-10-15T13:58:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1659495eb30ae6a17058418b6d00592373cfdf65'/>
<id>urn:sha1:1659495eb30ae6a17058418b6d00592373cfdf65</id>
<content type='text'>
Fixes: #1691
</content>
</entry>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-checkable: Use checked arithmetic</title>
<updated>2024-03-05T22:19:10Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2024-03-05T22:16:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=522c2ebc4563984bcf6a6222a1a693468b6baca5'/>
<id>urn:sha1:522c2ebc4563984bcf6a6222a1a693468b6baca5</id>
<content type='text'>
Make sure that arithmetic with SystemTime and Duration fits into
SystemTime. If the result does not fit, set the affected boundary to
None. After all it implies that this point in time is not reachable
on the system.

Avoids integer overflow or panic, depending on debug or release build.
</content>
</entry>
</feed>
