<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-checkable/src/timed.rs, branch arti-v1.1.5</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-05-13T11:48:52Z</updated>
<entry>
<title>netdoc: Use the RangeBoundsExt impl of TimerangeBound.</title>
<updated>2023-05-13T11:48:52Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-05T13:42:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f9c6cc11bb1e1e048ad4f22749de779d98db5a17'/>
<id>urn:sha1:f9c6cc11bb1e1e048ad4f22749de779d98db5a17</id>
<content type='text'>
We can now get rid of the standalone `intersect_bounds` function.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-checkable: Implement RangeBounds for TimerangeBound.</title>
<updated>2023-05-13T11:48:49Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-05T13:40:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=094287e6776926682ae09dabb1e7b1772c74d8d7'/>
<id>urn:sha1:094287e6776926682ae09dabb1e7b1772c74d8d7</id>
<content type='text'>
By implementing `RangeBounds` for `TimerangeBound`, we get
`RangeBoundsExt` for free. This will enable `parse_decrypt_validate` to
easily compute the intersection of the `TimerangeBound`s its layers.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-checkable: Add a way to compute the intersection of 2 RangeBounds.</title>
<updated>2023-05-13T11:48:16Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-05-03T22:38:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=919790c6320c7b62ff002733725919dd1a148f2c'/>
<id>urn:sha1:919790c6320c7b62ff002733725919dd1a148f2c</id>
<content type='text'>
This will be used for computing the final `TimerangeBound` of a `HsDesc`
from the `TimerangeBound`s of its inner and outer layers.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>hsclient: Build cached descriptor TimerangeBounds from descriptor lifetime.</title>
<updated>2023-05-13T11:48:13Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-04-27T11:03:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=88ea5032f4588da7ebafdc262f5db64e561d76af'/>
<id>urn:sha1:88ea5032f4588da7ebafdc262f5db64e561d76af</id>
<content type='text'>
This makes `descriptor_ensure` refetch the descriptor if it has been
cached for longer than `descriptor-lifetime` minutes.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>TimerangeBound: Provide .as_ref() and .as_deref()</title>
<updated>2023-04-03T14:54:13Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-04-03T14:50:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e85f974934275802584e650530bc6b4468ee3e44'/>
<id>urn:sha1:e85f974934275802584e650530bc6b4468ee3e44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>TimerangeBound: derive Debug and Clone, and Eq/PartialEq in tests</title>
<updated>2023-04-03T14:50:32Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-04-03T14:50:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=456eb2f3dfd90e376135ea226df52631d637002a'/>
<id>urn:sha1:456eb2f3dfd90e376135ea226df52631d637002a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use humantime in tor-checkable</title>
<updated>2023-02-27T15:48:49Z</updated>
<author>
<name>Saksham Mittal</name>
<email>gotlouemail@gmail.com</email>
</author>
<published>2023-02-27T15:48:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f5f526d1fc0a8eadb15568bae82b335a54165048'/>
<id>urn:sha1:f5f526d1fc0a8eadb15568bae82b335a54165048</id>
<content type='text'>
The four values of times taken in a particular test were changed to both
be human readable and have comments explaining their significance (they
are all important moments after the Unix Epoch for freedom)
</content>
</entry>
<entry>
<title>tor-checkable: Add dangerously_map() functions.</title>
<updated>2023-02-07T14:02:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-31T17:17:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2b82011dfb4748140846ebda6c3432e66f645ad6'/>
<id>urn:sha1:2b82011dfb4748140846ebda6c3432e66f645ad6</id>
<content type='text'>
These functions consume a checkable wrapper, and return a new
checkable wrapper with mapped contents but the same not-yet-checked
constraints.

As documented, They are "dangerous" because the provided function
gets access to the contents before they are checked; the caller has
to make sure that the provided function doesn't expose their
contents inappropriately.
</content>
</entry>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>Merge branch 'test-lints' into 'main'</title>
<updated>2023-01-06T17:16:09Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2023-01-06T17:16:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=118050e54cdb7d6e55f8eb375b82cbfc8466a809'/>
<id>urn:sha1:118050e54cdb7d6e55f8eb375b82cbfc8466a809</id>
<content type='text'>
Add test lint blocks to all "mod test"

See merge request tpo/core/arti!937</content>
</entry>
</feed>
