<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src/simple_time.rs, branch arti-v2.0.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.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-11-06T11:28:22Z</updated>
<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>tor-rtmock-simple-time-typos: Fix typos</title>
<updated>2025-10-01T09:14:33Z</updated>
<author>
<name>Niel Duysters</name>
<email>niel.duysters@proton.me</email>
</author>
<published>2025-10-01T09:14:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7bb6ba7188d0fb2c6395cd73ac4f9a48ad4c9054'/>
<id>urn:sha1:7bb6ba7188d0fb2c6395cd73ac4f9a48ad4c9054</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>tor-rtcompat: Rename BlockOn to ToplevelBlockOn</title>
<updated>2025-03-04T17:30:43Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-02-13T17:39:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=849558047071897b9bbdbdd28d06d15b52b3af10'/>
<id>urn:sha1:849558047071897b9bbdbdd28d06d15b52b3af10</id>
<content type='text'>
We're going to distinguish top-level runtime entry, from *re*-entry to
an existing executor.  It is most convenient to rename this trait
first.  Documentation of the distinction will come later.

(We're going to retain the function name `block_on`, but we want the trait
to be more obviously a top-level only thing, though, so we give it a
name that will hopefully avoid it peroulating throughout the codebase..)
</content>
</entry>
<entry>
<title>Convert a few crates to slotmap-careful</title>
<updated>2024-10-17T16:54:37Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2024-10-15T01:16:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e867cba7cbbbb1cf44e0017a5c354cd9f7a4aca6'/>
<id>urn:sha1:e867cba7cbbbb1cf44e0017a5c354cd9f7a4aca6</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
