<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src/simple_time.rs, branch arti-v1.2.2</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.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-03-25T17:45:36Z</updated>
<entry>
<title>tor-rtmock: Introduce MockTimeCore</title>
<updated>2024-03-25T17:45:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-25T17:35:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1f8ff7122d18f698ae5e920b34f92c02664dc211'/>
<id>urn:sha1:1f8ff7122d18f698ae5e920b34f92c02664dc211</id>
<content type='text'>
It bothered me that when I added a `MockCoarseTimeProvider` to the
mock time providers, I had to manually grep to check that there
weren't places the time was updated where I ought to also update the
coarse time.

Prove that the code is right by hiding all the times together in a
struct that prevents un-synchronised updates.

This is part 1, where we move the fields from simple_time::State to
the new struct.
</content>
</entry>
<entry>
<title>tor-rtmock: time_core: rename from coarse_time</title>
<updated>2024-03-25T17:17:12Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-25T17:17:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=02a5db1db3fcf39c306b55ddbeaf3e87d7ff522c'/>
<id>urn:sha1:02a5db1db3fcf39c306b55ddbeaf3e87d7ff522c</id>
<content type='text'>
We're going to put more in here.

(Yes, I know we just invented this...)
</content>
</entry>
<entry>
<title>tor-rtmock: Rename coarsetime module to coarse_time</title>
<updated>2024-03-25T16:08:07Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-25T16:08:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4ae9016847271e521ceaf61cff51d6626c0c5c42'/>
<id>urn:sha1:4ae9016847271e521ceaf61cff51d6626c0c5c42</id>
<content type='text'>
Modules with the same name as external crates don't work well with our
MSRV.
</content>
</entry>
<entry>
<title>tor-rtmock: impl CoarseTimeProvider for mocked time providers</title>
<updated>2024-03-25T11:52:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-21T14:54:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=06a135d4e6f95a0959ee88c299c7183634e10edc'/>
<id>urn:sha1:06a135d4e6f95a0959ee88c299c7183634e10edc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: Implement from_real in terms of from_wallclock</title>
<updated>2024-03-25T11:52:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-21T14:59:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=87f2bfd7e3d88f975a66db8fa2e60c45c68d2a04'/>
<id>urn:sha1:87f2bfd7e3d88f975a66db8fa2e60c45c68d2a04</id>
<content type='text'>
This reduces duplication a little.
</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-rtmock: simple_time: Don't export State</title>
<updated>2023-10-05T18:09:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T18:07:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=26684c5f4e1ad40cdddd3ee0b771ae47c44f1812'/>
<id>urn:sha1:26684c5f4e1ad40cdddd3ee0b771ae47c44f1812</id>
<content type='text'>
This was a slip.
</content>
</entry>
<entry>
<title>tor-rtmock: simple_time: Rename `wakers` to `futures` (fmt)</title>
<updated>2023-10-05T15:02:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T15:02:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=153bdfaf7037bac01792f8205599092cd148e174'/>
<id>urn:sha1:153bdfaf7037bac01792f8205599092cd148e174</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: simple_time: Rename `wakers` to `futures`</title>
<updated>2023-10-05T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T14:46:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d75c473ed7acb2e786a664ed373b8c48d614eea3'/>
<id>urn:sha1:d75c473ed7acb2e786a664ed373b8c48d614eea3</id>
<content type='text'>
This is clearer, I think.
</content>
</entry>
<entry>
<title>tor-rtmock: simple_time: Rename `pq` to `unready`</title>
<updated>2023-10-05T15:00:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-05T14:43:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d05d0e26a2442b997256717808b019ccb038b848'/>
<id>urn:sha1:d05d0e26a2442b997256717808b019ccb038b848</id>
<content type='text'>
This is clearer, I think.
</content>
</entry>
</feed>
