<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtmock/src/runtime.rs, branch arti-v1.2.7</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.7</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.7'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-07-30T17:42:44Z</updated>
<entry>
<title>tor-rtmock docs: Add some more discussion of the simulated time</title>
<updated>2024-07-30T17:42:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-07-25T13:51:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=06cbee5e7679cd11b4568b7538d39231f45378db'/>
<id>urn:sha1:06cbee5e7679cd11b4568b7538d39231f45378db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock docs: We have CoarseTimeProvider now</title>
<updated>2024-07-30T17:42:41Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-07-25T13:59:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0770be9de6081ea5ae3ed1ba7cff56ecbd466ea9'/>
<id>urn:sha1:0770be9de6081ea5ae3ed1ba7cff56ecbd466ea9</id>
<content type='text'>
Improve/replace some out-of-date notes in the docs.
</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>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>Fix typos</title>
<updated>2024-01-08T18:19:11Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2024-01-04T18:32:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4eb54be0657862f5d56b047c16c08dabde6a7377'/>
<id>urn:sha1:4eb54be0657862f5d56b047c16c08dabde6a7377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rtmock: Remove now-needless to_string calls.</title>
<updated>2023-11-30T15:16:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-11-30T14:04:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f2e1855c07dc3e59a9db41c4bc376fc6d97ce44'/>
<id>urn:sha1:9f2e1855c07dc3e59a9db41c4bc376fc6d97ce44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: handle Receiver result inside spawn_join()</title>
<updated>2023-11-21T15:59:38Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-21T15:59:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=804b66127008d194f5691602219812f6e982df1d'/>
<id>urn:sha1:804b66127008d194f5691602219812f6e982df1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: change return types to be less concrete</title>
<updated>2023-11-21T12:37:11Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-21T12:37:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f1bb16f55f0534aef9c7040912d731f97dc9c59e'/>
<id>urn:sha1:f1bb16f55f0534aef9c7040912d731f97dc9c59e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtmock: change return type of spawn_join()</title>
<updated>2023-11-21T06:16:21Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-21T06:07:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f3204c99787f748d6fc9d0123929f8dd1adc3e4f'/>
<id>urn:sha1:f3204c99787f748d6fc9d0123929f8dd1adc3e4f</id>
<content type='text'>
This makes it synchronous. The trait bounds on the return type
have also been relaxed to not require Clone
</content>
</entry>
<entry>
<title>tor-rtmock: introduce spawn_join() for MockRuntime &amp; MockExecutor</title>
<updated>2023-11-21T06:16:20Z</updated>
<author>
<name>Saksham Mittal</name>
<email>git@gotlou.com</email>
</author>
<published>2023-11-17T11:43:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=63f9ccbd73745eb6dd506f9fae29968edd34e868'/>
<id>urn:sha1:63f9ccbd73745eb6dd506f9fae29968edd34e868</id>
<content type='text'>
This helps abstract away the need to create a oneshot channel in order
to get the return value out of an async function when using MockRuntime.

ref: https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1727#note_2965352
</content>
</entry>
</feed>
