<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-rtcompat/src/general.rs, branch arti-v2.1.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.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-11-24T16:28:07Z</updated>
<entry>
<title>opentelemetry: Instrument a bunch of functions.</title>
<updated>2025-11-24T16:28:07Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-11-24T16:28:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a4db6a7495b13dd7b00416dd1660a5ad82b60919'/>
<id>urn:sha1:a4db6a7495b13dd7b00416dd1660a5ad82b60919</id>
<content type='text'>
These are all aimed at figuring out in more detail what's going on
in #2079 and related issues.
</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: Add the ability to get a StreamOps handle.</title>
<updated>2025-01-15T13:49:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T11:06:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=267235969df65d975b5deb01c342e1073d4c3847'/>
<id>urn:sha1:267235969df65d975b5deb01c342e1073d4c3847</id>
<content type='text'>
Needed for cases where we wrap an object that implements `StreamOps` in
an external type, thereby losing access to the `StreamOps`
functionality. For example, during the channel handshake, we `.split()`
the stream that implements `StreamOps`, which leaves us with a
`SplitSink` and a `SplitStream`, neither of which implement `StreamOps`.
Getting a handle to the underlying object that implements `StreamOps`
(for example, a file handle) *before* the stream is `.split()` enables
us to use `StreamOps` to manipulate the underlying split stream.

This commit also introduces a special `UnsupportedStreamOpsHandle`,
which is a type that implements `StreamOps`, but always returns an
error. This type is meant to simplify error handling and usage, and is
meant to be used in cases where `StreamOps` is not supported. TODO: the
name of this type is pretty confusing (it's very similar to
`UnsupportedStreamOp`, which is an error type), and should probably be
renamed to something else (`NoOpStreamOpsHandle`,
`BrokenStreamOpsHandle`, `DummyStreamOpsHandle` come to mind...).

Note: this changes the `StreamOps` trait to be slightly different from
what I originally envisioned in !2660 and #1769
</content>
</entry>
<entry>
<title>rtcompat: re-export items from tor_general_addr::general</title>
<updated>2024-12-19T21:12:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-12-11T19:41:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=61a8ec6f61caa6a1fa4ead15384d9a81553b1192'/>
<id>urn:sha1:61a8ec6f61caa6a1fa4ead15384d9a81553b1192</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-rtcompat: Require NetStream{Listener,Provider} streams to impl StreamOps.</title>
<updated>2024-12-10T10:34:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-12-05T15:02:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bf7f5c8ea91357be2b2be366a91bee3d17ac5ecb'/>
<id>urn:sha1:bf7f5c8ea91357be2b2be366a91bee3d17ac5ecb</id>
<content type='text'>
Part of #1769
</content>
</entry>
<entry>
<title>tor-rtcompat: Implement StreamOps for all the stream types.</title>
<updated>2024-12-10T10:34:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-12-05T15:00:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=56e9b79b09c65caee25a50c083fdd40f8c66f040'/>
<id>urn:sha1:56e9b79b09c65caee25a50c083fdd40f8c66f040</id>
<content type='text'>
Part of #1769
</content>
</entry>
<entry>
<title>Remove re-export of "general::*" from tor-rtcompat.</title>
<updated>2024-10-29T17:42:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-29T17:42:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6239b036dcb041f6c7371fee824c3d65ec6f7d06'/>
<id>urn:sha1:6239b036dcb041f6c7371fee824c3d65ec6f7d06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove re-export of "unix" from tor_rtcompat.</title>
<updated>2024-10-29T17:36:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-29T17:36:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ddd8bacdfbd91356805a37e15c023e3b525b6e8'/>
<id>urn:sha1:7ddd8bacdfbd91356805a37e15c023e3b525b6e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Extract general::SocketAddr and its unix friends to their own crate.</title>
<updated>2024-10-29T17:25:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-29T17:22:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=14694f1de79c2eaaf6dd7a3ea781ccb757467378'/>
<id>urn:sha1:14694f1de79c2eaaf6dd7a3ea781ccb757467378</id>
<content type='text'>
This is mostly code motion.
</content>
</entry>
<entry>
<title>general::SocketAddr: Say "inet" rather than "tcp"</title>
<updated>2024-10-17T18:07:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-17T18:07:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ca0ec6d8f999a9f474f7d4dffa49f509fafcda77'/>
<id>urn:sha1:ca0ec6d8f999a9f474f7d4dffa49f509fafcda77</id>
<content type='text'>
"inet" makes more sense, since in principle these can also be used
for udp, etc.

Also making a corresponding change in rpc-connect-sketch.md,
which uses this format.

Closes #1701.
</content>
</entry>
</feed>
