<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-hsrproxy/src, branch arti-v1.7.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.7.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.7.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-09-29T19:30:03Z</updated>
<entry>
<title>Remove "doc_auto_cfg" incantation from all crates.</title>
<updated>2025-09-29T19:30:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-09-29T18:30:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=808b0ec2e3735a6dbbebeb857a3d6040ae02c697'/>
<id>urn:sha1:808b0ec2e3735a6dbbebeb857a3d6040ae02c697</id>
<content type='text'>
This feature has been removed from nightly, in favor of doc_cfg.
</content>
</entry>
<entry>
<title>proto: Move the `stream` module under `client` (breaking).</title>
<updated>2025-08-18T16:09:04Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-08-18T15:52:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=702e7276898d3f31e22033c5b64fea91703f3701'/>
<id>urn:sha1:702e7276898d3f31e22033c5b64fea91703f3701</id>
<content type='text'>
The `stream` module is client-specific, for the most part, so I am
moving it under `client`. Later on, we will factor out the parts that
can be shared with the relay implementation.

Note: this is a breaking change as the deleted `stream` module was
`pub`. We could've kept the module and reexported from it the public
types from `tor_proto::client::stream`, but I think it's better to have
this `client` namespacing, because it makes the separation between the
client and relay parts clearer.
</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>Temporarily suppress mismatched_lifetime_syntaxes.</title>
<updated>2025-07-07T15:50:04Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-07-07T15:50:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a11b611466a5a73f5e06a0aabd17284a57d12fe3'/>
<id>urn:sha1:a11b611466a5a73f5e06a0aabd17284a57d12fe3</id>
<content type='text'>
See #2060.
</content>
</entry>
<entry>
<title>metrics: Discuss schema stability (currently, "no")</title>
<updated>2025-04-08T17:20:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-04-08T12:17:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=63b1afba93c24519c20e95229e894d3e91cc658a'/>
<id>urn:sha1:63b1afba93c24519c20e95229e894d3e91cc658a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsrproxy: config: make ProxyActionDiscriminants private</title>
<updated>2025-04-08T17:20:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-04-08T12:05:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0818b110e24b573a217dac6c73e8ff1db31eb6fd'/>
<id>urn:sha1:0818b110e24b573a217dac6c73e8ff1db31eb6fd</id>
<content type='text'>
beta clippy pointed out that it shouldn't be exhaustive.
but `#[strum_discriminants(non_exhaustive)]` is rejected.
</content>
</entry>
<entry>
<title>metrics: tor-hsrproxy: Use a bespoke type for counter outcomes</title>
<updated>2025-04-08T17:20:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-04-08T11:50:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e02da4600e7a66bee5ac3dc57b708c0942bda895'/>
<id>urn:sha1:e02da4600e7a66bee5ac3dc57b708c0942bda895</id>
<content type='text'>
Prompted by
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2918#note_3185872
</content>
</entry>
<entry>
<title>tor-hsrproxy: Add allow(unused) if features not all enabled</title>
<updated>2025-04-08T17:20:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-04-07T15:44:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a02715d099d386a67c7a7db7702c2499df50d636'/>
<id>urn:sha1:a02715d099d386a67c7a7db7702c2499df50d636</id>
<content type='text'>
This avoids warnings from failure to cfg-decorate imports.
</content>
</entry>
<entry>
<title>tor-hsrproxy: Export a connection count metric (fmt)</title>
<updated>2025-04-08T17:20:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-04-02T16:23:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=016bcdbe6e93d7a565e33640c1363d5a79c7472d'/>
<id>urn:sha1:016bcdbe6e93d7a565e33640c1363d5a79c7472d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsrproxy: Export a connection count metric</title>
<updated>2025-04-08T17:20:50Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-04-02T16:21:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e9ee2f4204b5139de9946d86c942b6e62427f258'/>
<id>urn:sha1:e9ee2f4204b5139de9946d86c942b6e62427f258</id>
<content type='text'>
This proves the concept.  Many more metrics will need to be added
throughout the codebase.

With this compiled in and enabled, I see this with curl:

&gt; ```
&gt; # TYPE arti_hss_proxy_connections_failed_total counter
&gt; arti_hss_proxy_connections_failed_total{nickname="ztest",action="destroy_circuit"} 0
&gt; arti_hss_proxy_connections_failed_total{nickname="ztest",action="ignore_stream"} 0
&gt; arti_hss_proxy_connections_failed_total{nickname="ztest",action="forward"} 0
&gt; arti_hss_proxy_connections_failed_total{nickname="ztest",action="reject_stream"} 0
&gt;
&gt; # TYPE arti_hss_proxy_connections_total counter
&gt; arti_hss_proxy_connections_total{nickname="ztest",action="reject_stream"} 0
&gt; arti_hss_proxy_connections_total{nickname="ztest",action="forward"} 1
&gt; arti_hss_proxy_connections_total{nickname="ztest",action="destroy_circuit"} 0
&gt; arti_hss_proxy_connections_total{nickname="ztest",action="ignore_stream"} 0
&gt;
&gt; # TYPE arti_hss_proxy_connections_ok_total counter
&gt; arti_hss_proxy_connections_ok_total{nickname="ztest",action="destroy_circuit"} 0
&gt; arti_hss_proxy_connections_ok_total{nickname="ztest",action="reject_stream"} 0
&gt; arti_hss_proxy_connections_ok_total{nickname="ztest",action="ignore_stream"} 0
&gt; arti_hss_proxy_connections_ok_total{nickname="ztest",action="forward"} 1
&gt; ```
</content>
</entry>
</feed>
