<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src, branch arti-v1.2.4</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.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-05-06T13:31:35Z</updated>
<entry>
<title>Re-run maint/add_warning.</title>
<updated>2024-05-06T13:31:35Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-05-06T13:23:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=97f452ec9958bf7d8ca3275c39655814a4494637'/>
<id>urn:sha1:97f452ec9958bf7d8ca3275c39655814a4494637</id>
<content type='text'>
This commit is automatically generated.
</content>
</entry>
<entry>
<title>Suppress a spurious dead code lint</title>
<updated>2024-04-25T14:22:32Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-04-24T10:51:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=27475324480a9a878db578dee5ec7a83db874ef2'/>
<id>urn:sha1:27475324480a9a878db578dee5ec7a83db874ef2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: Remove a todo comment</title>
<updated>2024-04-03T12:15:08Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-04-02T14:36:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=482de7997a32efe317498a13712da2544c481b06'/>
<id>urn:sha1:482de7997a32efe317498a13712da2544c481b06</id>
<content type='text'>
derive-deftly 0.10.x rejects unrecognised `#[deftly]` attributes.
</content>
</entry>
<entry>
<title>Switch to derive-deftly</title>
<updated>2024-04-03T12:11:39Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-04-02T11:58:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b71d0bf6cd413650550b40ce81e02dc47ae2fa5e'/>
<id>urn:sha1:b71d0bf6cd413650550b40ce81e02dc47ae2fa5e</id>
<content type='text'>
This is the combination of a number of separate commits, many of which
were generated by seddery, and then rebased and squashed.

Cargo.toml
  perl -i~ -pe 's{^derive-adhoc}{derive-deftly = "0.10"}' crates/*/Cargo.toml
  (not regenerated during rebase)

update Cargo.lock
  `cargo fetch` without --locked
  (regenerated during rebase)

seddery
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{^use derive_adhoc}{use derive_deftly}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bdefine_derive_adhoc\b}{define_derive_deftly}g'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bAdhoc\b}{Deftly}g if m{derive}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[derive_adhoc\b}{#[derive_deftly}g'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{use derive_adhoc}{use derive_deftly}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc\b}{derive_deftly_adhoc} if m{use.*deftly}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc!}{derive_deftly_adhoc!}'
  (not regenerated during rebase)

Manually add `#[derive_deftly_adhoc]` where needed.

seddery
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[adhoc\b}{#[deftly}g'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc_template}{derive_deftly_template}'
  (not regenerated during rebase)

Manually fix up an import

Manually update some builder attrs

Manually fix up tor_rtmock::time_core
  This was missed in my seddery, due to me rebasing the branch and not
  redoing the seddery.
</content>
</entry>
<entry>
<title>tor-rtmock: Change word in comment</title>
<updated>2024-04-02T09:35:06Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-04-02T09:31:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=47c4ae2afd48528c0f34d61da46b7b8d4e6e8e0a'/>
<id>urn:sha1:47c4ae2afd48528c0f34d61da46b7b8d4e6e8e0a</id>
<content type='text'>
This was incorrect usage, as pointed out in
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2052#note_3012727
</content>
</entry>
<entry>
<title>tor-rtmock: Use MockTimeCore in time.rs too (fmt)</title>
<updated>2024-03-25T17:48:06Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-25T17:48:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ff21ccc9b8b3eb973c91a43fcfeb60b88b3e940'/>
<id>urn:sha1:7ff21ccc9b8b3eb973c91a43fcfeb60b88b3e940</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: Use MockTimeCore in time.rs too</title>
<updated>2024-03-25T17:47:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-25T17:40:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6fff4e01f30d16c37d612c17a8bdbe9c287bf306'/>
<id>urn:sha1:6fff4e01f30d16c37d612c17a8bdbe9c287bf306</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 (fmt)</title>
<updated>2024-03-25T17:45:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-25T17:45:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=83407fdb728dd4d740e2b770b5b2460f09822e83'/>
<id>urn:sha1:83407fdb728dd4d740e2b770b5b2460f09822e83</id>
<content type='text'>
</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>
</feed>
