<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-basic-utils/src/futures.rs, branch arti-v1.1.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.1.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-01-27T13:28:02Z</updated>
<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>tor-basic-utils: DropNotifyWatchSender: use DropNotifyEofSignallable</title>
<updated>2022-11-23T17:50:05Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-14T18:47:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c82cda85d69d13312308f9172faaa6a5b1d69fc2'/>
<id>urn:sha1:c82cda85d69d13312308f9172faaa6a5b1d69fc2</id>
<content type='text'>
This will help avoid the programmer making the mistake I made here:
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/852#note_2854029
</content>
</entry>
<entry>
<title>tor-basic-utils: DropNotifyWatchSender test: introduce I</title>
<updated>2022-11-23T17:50:01Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-14T18:44:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=63a799a118fe74c74247d470ec9957cc73b32d32'/>
<id>urn:sha1:63a799a118fe74c74247d470ec9957cc73b32d32</id>
<content type='text'>
We do want to test this with a non-Option type, but we are going to
have to wrap it up.
</content>
</entry>
<entry>
<title>Allow "clippy::single_char_pattern" in tests.</title>
<updated>2022-10-12T12:50:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-11T13:00:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=82ad9eea5f80331d0e26a7d5ccfeed9e58a615fb'/>
<id>urn:sha1:82ad9eea5f80331d0e26a7d5ccfeed9e58a615fb</id>
<content type='text'>
This lint exists for perf reasons, and this is rarely relevant in
tests.

Using double quoted str is generally cognitively less burdensome.
</content>
</entry>
<entry>
<title>tor-basic-utils: Add a test for DropNotifyWatchSender</title>
<updated>2022-07-19T18:04:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-07-19T18:04:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=44402f722e27e3c9e3f616e1d84de4fa35aa8ad4'/>
<id>urn:sha1:44402f722e27e3c9e3f616e1d84de4fa35aa8ad4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-basic-utils: Add ref to upstream issue re drop</title>
<updated>2022-07-19T18:00:23Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-07-19T18:00:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c7933de0ab32ad9782c87c6247057b4c51cd053b'/>
<id>urn:sha1:c7933de0ab32ad9782c87c6247057b4c51cd053b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-basic-utils: Add comment about lack of race</title>
<updated>2022-07-19T16:21:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-07-19T16:21:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bd41e29f3332adca562c3dacb20e050bbf9d9c4f'/>
<id>urn:sha1:bd41e29f3332adca562c3dacb20e050bbf9d9c4f</id>
<content type='text'>
In answer to
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/632#note_2822107

I think this is subtle enough that it deserves a comment.
</content>
</entry>
<entry>
<title>arti-client: Provide DropNotifyWatchSender</title>
<updated>2022-07-18T17:13:13Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-07-18T16:21:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc498bc7a082d54a4ee28f3353fd0fc9dac4d46c'/>
<id>urn:sha1:bc498bc7a082d54a4ee28f3353fd0fc9dac4d46c</id>
<content type='text'>
There are going to be some tasks (well, right away, one task) which
will want to go away when the sender is dropped.

The docs in postage are silent, but postage::watch::Sender does not
have a Drop impl so I don't think we can rely on the Receivers getting
None from their Stream impl.

So we're going to have the watch send Options, which are None only
when the sender is dropped.
</content>
</entry>
<entry>
<title>Provide maybe_send on postage::watch::Sender, via extension trait</title>
<updated>2022-07-18T17:13:13Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-07-18T11:04:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7acdd217507c1020e52d2146a013d0fe4e8f964e'/>
<id>urn:sha1:7acdd217507c1020e52d2146a013d0fe4e8f964e</id>
<content type='text'>
We need to replace the AtomicBool for dormant mode with something that
can wake up tasks.  postage::watch is the right shape.

But we want to be able to update it but suppress no-op updates.
(There is going to be a call site where no-op updates can occur.)

In the absence of a suitable upstream method as requested here
  https://github.com/austinjones/postage-rs/issues/56
we introduce this facility via an extension trait.
</content>
</entry>
<entry>
<title>clippy: Consolidate many lints in maint/add_warning</title>
<updated>2022-06-24T13:23:38Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-24T12:24:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=23c352b96bf07c981bb396fa34ce83e512ada0b2'/>
<id>urn:sha1:23c352b96bf07c981bb396fa34ce83e512ada0b2</id>
<content type='text'>
Found these by disabling the nightly dbg macro special case.  Now, we
have a mechanism for globally adding suppressions to tests, we can use
that instead.
</content>
</entry>
</feed>
