<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-checkable/src/lib.rs, 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>tor-checkable: TimeBound: Provide new build_intersect API</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-20T11:57:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ddbd21c7d5f00702dd9e2071ef90383de59634a3'/>
<id>urn:sha1:ddbd21c7d5f00702dd9e2071ef90383de59634a3</id>
<content type='text'>
</content>
</entry>
<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>tor-checkable: Rename `TimeBound::is_valid_at` to `check_valid_at`</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:51:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b97c30a9e666d40601d76b645f44abc6adf42fe9'/>
<id>urn:sha1:b97c30a9e666d40601d76b645f44abc6adf42fe9</id>
<content type='text'>
I find this names confusing.  To my mind "is" implies a function
returning `bool`.
</content>
</entry>
<entry>
<title>tor-checkable: Rename `TimeBound::check_valid_*` to `if_valid_*`</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:40:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca37f30a097696ce2ebd4e9945a4bdaebe086b31'/>
<id>urn:sha1:ca37f30a097696ce2ebd4e9945a4bdaebe086b31</id>
<content type='text'>
I find these names confusing.  To my mind "check" implies a function
returning `Result&lt;(), _&gt;`.

Some other APIs use `unwrap` here but I think `if` is good.
</content>
</entry>
<entry>
<title>tor-checkable: Deprecate `TimeBound::check_valid_at_opt`</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:37:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=008202a20b93dba7731462f82d1d01dbcc1b62d8'/>
<id>urn:sha1:008202a20b93dba7731462f82d1d01dbcc1b62d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-checkable: TimeBound: Make wrapped type an associated type (fmt)</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-20T17:38:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cc2b4debcd172debf2a043ea1146b3d4c652cc92'/>
<id>urn:sha1:cc2b4debcd172debf2a043ea1146b3d4c652cc92</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-checkable: TimeBound: Make wrapped type an associated type</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-20T12:00:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b16e7a5ac48daa3e2f94660bdf7c39f54e7c702c'/>
<id>urn:sha1:b16e7a5ac48daa3e2f94660bdf7c39f54e7c702c</id>
<content type='text'>
It wouldn't make much sense for one concrete type to be unwrappable
variously as different inner types.
</content>
</entry>
<entry>
<title>tor-checkable: TimeBound: Make is_valid_at a provided method</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-16T15:30:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9313f79335c2ba15e7e60bc6d97086c4c56ff30a'/>
<id>urn:sha1:9313f79335c2ba15e7e60bc6d97086c4c56ff30a</id>
<content type='text'>
Now that we have `bounds()`, we can centralise this implementation and
delete the implementations.

I don't think it's necessary to provide an engineered safeguard
against downstreams overriding this method.  Any existing implementors
of this trait will break because they must provide `.bounds()` now,
which is an opportunity to notice that the `is_valid_at` can be
deleted.  But, if it is not deleted, nothing goes wrong.
</content>
</entry>
<entry>
<title>tor-checkable: TimeBound: remove Error associated type</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-16T15:19:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=726f97b2a2099eea34d804e0132cf742964af8b7'/>
<id>urn:sha1:726f97b2a2099eea34d804e0132cf742964af8b7</id>
<content type='text'>
This was always TimeValidityError.  And we want to rely on that so we
can do the validity checking more centrally.
</content>
</entry>
<entry>
<title>tor-checkable: TimeBound: Add bounds accessor</title>
<updated>2026-07-23T10:13:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-20T18:25:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=845f56aeedabfd44ec4573f872aeefa77cf72556'/>
<id>urn:sha1:845f56aeedabfd44ec4573f872aeefa77cf72556</id>
<content type='text'>
This makes a `TimeBound` much more convenient to work with, will allow
more centralisation.

This replaces temporary `bound` inherent method on `TimeRangeBound`.
</content>
</entry>
</feed>
