<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/channel, branch arti-v1.4.5</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-06-12T18:02:30Z</updated>
<entry>
<title>tor-proto: Log channel, circuit, stream identifiers as structured fields.</title>
<updated>2025-06-12T18:02:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-06-12T15:16:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a50fe9c8471bfe026ff5a0ce39355258fc335fe0'/>
<id>urn:sha1:a50fe9c8471bfe026ff5a0ce39355258fc335fe0</id>
<content type='text'>
This changes the `tor-proto` logs to not be prefixed with a
channel/circuit/stream ID, but rather to have these IDs attached to the
log as structured fields.

This change is in preparation for the switch to using `TunnelId`s in the
tunnel reactor instead of circuit `UniqId`s. The reason for the change
to use structured fields is because future logs will likely need to log
the `UniqId`s of the circuits in a tunnel, which will need to either be
formatted somehow in the logs, or logged as a structured field (the
latter seems like the better option, hence this preparatory change).

IMO we should favor structured fields over formatted strings in the
logs in general, but that is a bigger project, so I am only doing a
spot fix for now.
</content>
</entry>
<entry>
<title>proto: temporarily suppress warning; see #2003.</title>
<updated>2025-05-16T01:38:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-05-16T01:38:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ac4522fb4d90004918fa473bbdaa9708c6ab1879'/>
<id>urn:sha1:ac4522fb4d90004918fa473bbdaa9708c6ab1879</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include "bug" in all bug error messages</title>
<updated>2025-04-28T14:06:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-28T14:06:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aa813e37c94898ed621eb259b67754f1e70a67bb'/>
<id>urn:sha1:aa813e37c94898ed621eb259b67754f1e70a67bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>circ: Remove CircParameters reference in call stack</title>
<updated>2025-04-23T18:36:28Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2025-01-22T16:35:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0c9b5c88c3b02250368ddd4606bacaf3eb387bad'/>
<id>urn:sha1:0c9b5c88c3b02250368ddd4606bacaf3eb387bad</id>
<content type='text'>
This avoids cloning the object and instead allows us to have a
CircParameters per hop on the circuit path. This will come handy with
congestion control where each hop might have different congestion
control parameters.

Part of #1817

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>Allow StreamOps import to be unused</title>
<updated>2025-04-09T16:25:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-09T16:25:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f79bb13bbd55957a8e67725455cc8460f5064ee0'/>
<id>urn:sha1:f79bb13bbd55957a8e67725455cc8460f5064ee0</id>
<content type='text'>
This comes up on OSX; I hadn't seen it before, so I assume it is new
with Rust 1.86.
</content>
</entry>
<entry>
<title>proto: make padding::Parameters construction fallible.</title>
<updated>2025-03-18T17:46:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-18T17:46:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dbb4f5451f0730041d0f01d92aed4e80c2292db1'/>
<id>urn:sha1:dbb4f5451f0730041d0f01d92aed4e80c2292db1</id>
<content type='text'>
The constructor for rand::distr::Uniform is now fallible,
so it makes sense to bubble up its restrictions.

This is a breaking change.
</content>
</entry>
<entry>
<title>squash! Upgrade rand dependency to 0.9.</title>
<updated>2025-03-18T16:09:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-18T14:16:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9c645ebffe80f97ffbbd6679366041a0687c2869'/>
<id>urn:sha1:9c645ebffe80f97ffbbd6679366041a0687c2869</id>
<content type='text'>
- `Uniform::new_inclusive` is now fallible.
</content>
</entry>
<entry>
<title>squash! Upgrade rand dependency to 0.9.</title>
<updated>2025-03-18T16:09:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-18T13:02:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e57c16e03ddf07dffaa4dda4fa1b4101ac02a233'/>
<id>urn:sha1:e57c16e03ddf07dffaa4dda4fa1b4101ac02a233</id>
<content type='text'>
- The rand::distributions module has been renamed to rand::distr
</content>
</entry>
<entry>
<title>squash! Upgrade rand dependency to 0.9.</title>
<updated>2025-03-18T16:09:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-03-18T13:01:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2f8993c22c2b86010e4fd8b5169ef0ab83f8c754'/>
<id>urn:sha1:2f8993c22c2b86010e4fd8b5169ef0ab83f8c754</id>
<content type='text'>
- `rand::thread_rng()` has been deprecated and renamed to `rand::rng()`
</content>
</entry>
<entry>
<title>tor-rtmock: allow-Decorate every use of MockSleepProvider</title>
<updated>2025-03-06T17:18:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-03-06T16:57:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a4054ed0d51e7c55946bde3c247190c9bbeef6fb'/>
<id>urn:sha1:a4054ed0d51e7c55946bde3c247190c9bbeef6fb</id>
<content type='text'>
MockSleepProvider and MockSleepRuntime have been declared deprecated
by the docs for some time.  We're about to mark them `#[deprecated]`.

This commit has been split out for clarity of review.
</content>
</entry>
</feed>
