<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src/lib.rs, branch arti-v1.3.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.3.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-01-06T23:09:41Z</updated>
<entry>
<title>clippy: deny `mod_module_files`</title>
<updated>2025-01-06T23:09:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-01-06T23:02:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=252a3a803b2db65792db5bd51dee8950d8557e0d'/>
<id>urn:sha1:252a3a803b2db65792db5bd51dee8950d8557e0d</id>
<content type='text'>
Denies 'mod.rs' files for consistency.

https://rust-lang.github.io/rust-clippy/master/index.html#mod_module_files
</content>
</entry>
<entry>
<title>tor-rtcompat: Add an error type for unsupported StreamOps.</title>
<updated>2024-12-10T10:34:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-12-09T15:16:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8b59498aed1354dc72bd4b9315f41041a26c057f'/>
<id>urn:sha1:8b59498aed1354dc72bd4b9315f41041a26c057f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtcompat: Add a StreamOps trait.</title>
<updated>2024-12-10T10:34:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-12-05T10:48:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8df8c5c73a0fb5bddef37821218525bde25eadcb'/>
<id>urn:sha1:8df8c5c73a0fb5bddef37821218525bde25eadcb</id>
<content type='text'>
This trait will provide additional operations on `Stream`s.
For now, the only supported operation is `set_tcp_notsent_lowat`
(needed for #1728).

Part of #1769
</content>
</entry>
<entry>
<title>add_warnings, *: Allow clippy::needless_lifetimes</title>
<updated>2024-12-03T14:27:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-12-03T14:15:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=64cc3f2ed3eea0b7c5cc89ae07cbdadfdc1646fb'/>
<id>urn:sha1:64cc3f2ed3eea0b7c5cc89ae07cbdadfdc1646fb</id>
<content type='text'>
In 1.83, this warning triggers on many of our crates.
We're thinking of fixing them all, but for now,
we're going to disable the warning.

This is part of #1765.
</content>
</entry>
<entry>
<title>Merge branch 'dyn-time' into 'main'</title>
<updated>2024-10-01T17:26:59Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2024-10-01T17:26:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2249a1ff69204976263ec3808827093825f9de79'/>
<id>urn:sha1:2249a1ff69204976263ec3808827093825f9de79</id>
<content type='text'>
Provide a type-erased SleepProvider + CoarseTimeProvider and use it for memquota queues

See merge request tpo/core/arti!2460</content>
</entry>
<entry>
<title>tor-rtcompat: Suppress a dead code warning</title>
<updated>2024-09-30T16:41:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-30T16:40:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3106ad32044e2b23b8805a76457101c4cbd1cb63'/>
<id>urn:sha1:3106ad32044e2b23b8805a76457101c4cbd1cb63</id>
<content type='text'>
Fixes
  cargo check --all-features -p tor-async-utils --all-targets

which otherwise prints

warning: function `new_unnamed_socketaddr` is never used
  --&gt; crates/tor-rtcompat/src/unix.rs:14:15
   |
14 | pub(crate) fn new_unnamed_socketaddr() -&gt; std::io::Result&lt;SocketAddr&gt; {
   |               ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default
</content>
</entry>
<entry>
<title>tor-rtcompat: Introduce DynTimeProvider</title>
<updated>2024-09-26T20:51:20Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-26T11:54:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5c01add37b1307ffda2e775be9fc2f3cc6c67e9f'/>
<id>urn:sha1:5c01add37b1307ffda2e775be9fc2f3cc6c67e9f</id>
<content type='text'>
This will replace the internal ad-hoc DynCoarseTimeProvider in
tor-memquota.

We need this to be public because it's going to be shared by many of our
protocol elements (eg ClientCirc, Channel, etc.) as they need to use
it for their mq queues.
</content>
</entry>
<entry>
<title>CI: run miri, currently on tor-rtcompat</title>
<updated>2024-09-26T20:50:57Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-26T14:59:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=073e6d3f74cca58ada1963e89e7ebc9fda38d60c'/>
<id>urn:sha1:073e6d3f74cca58ada1963e89e7ebc9fda38d60c</id>
<content type='text'>
I'm about to add some unsafe which I want tested in CI.

We must disable two tests.
</content>
</entry>
<entry>
<title>rtcompat: Finalize names for general::SocketAddr.</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-24T13:04:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0ac5482eec3012df6d10b3b20d481a7c72569ce'/>
<id>urn:sha1:f0ac5482eec3012df6d10b3b20d481a7c72569ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rtcompat: Expose FakeStream and friends; fix compilation in tor-rtmock</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-23T17:20:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=014ea0c7512d2199d8b5b98c75e38fba4938afda'/>
<id>urn:sha1:014ea0c7512d2199d8b5b98c75e38fba4938afda</id>
<content type='text'>
It turns out that these types are generally useful, and that they
are in fact needed for tor-rtmock to compile without a PreferredRuntime.
</content>
</entry>
</feed>
