<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src, branch tor-circmgr-v0.18.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-circmgr-v0.18.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-circmgr-v0.18.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-04-25T15:24:24Z</updated>
<entry>
<title>Circuit reactor: document some requirements and assumptions</title>
<updated>2024-04-25T15:24:24Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-04-16T19:10:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=14f0ee82d1f8ffbbbead3e72340d2c98f05a73fc'/>
<id>urn:sha1:14f0ee82d1f8ffbbbead3e72340d2c98f05a73fc</id>
<content type='text'>
There are some tricky bits here that implicitly assume particular
behavior in other bits for correctness. Document these requirements and
assumptions.

Fixes arti#1373
</content>
</entry>
<entry>
<title>Add temporary allows for some dead code warnings</title>
<updated>2024-04-25T14:22:32Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-04-24T10:51:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2308e88a9a9e308f28b9a60d9efed6ad3cd603fb'/>
<id>urn:sha1:2308e88a9a9e308f28b9a60d9efed6ad3cd603fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use uXX::MAX in place of std::uXX::MAX</title>
<updated>2024-04-22T17:00:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-22T17:00:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4a1ad1dc89f6a9f48c84411560c1617d9e487abc'/>
<id>urn:sha1:4a1ad1dc89f6a9f48c84411560c1617d9e487abc</id>
<content type='text'>
The old code produced a warning from clippy nightly; we may as well
update to use the new associated consts.  (They've been there since
Rust 1.4x.)
</content>
</entry>
<entry>
<title>proto: Simplify a check-and-convert to use try_into+expect</title>
<updated>2024-04-22T16:59:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-22T16:59:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98bd5a6ebfc82ba25a088df237cd759ec5064cfd'/>
<id>urn:sha1:98bd5a6ebfc82ba25a088df237cd759ec5064cfd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>counted_map: Use educe(Default).</title>
<updated>2024-04-02T18:20:07Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-02T18:20:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=647281ab09ba30f467f6906fc3550e435df9de67'/>
<id>urn:sha1:647281ab09ba30f467f6906fc3550e435df9de67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>counted_map: Use PhantomData&lt;fn(P)-&gt;P&gt;</title>
<updated>2024-04-02T18:17:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-02T18:17:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2b97222cc053510ad753b73ec6b686fa0627a556'/>
<id>urn:sha1:2b97222cc053510ad753b73ec6b686fa0627a556</id>
<content type='text'>
This is always Send+Sync, and invariant with P.
</content>
</entry>
<entry>
<title>counted_map: Add some notes about correctness; downgrade unsafes</title>
<updated>2024-04-02T18:16:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-02T18:14:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1043fc123b32313557af45d85e8149fc406f1233'/>
<id>urn:sha1:1043fc123b32313557af45d85e8149fc406f1233</id>
<content type='text'>
(We're letting the "unchecked" suffix of this function be enough
to indicate that it's risky to use.)
</content>
</entry>
<entry>
<title>streammap: Use an internal counted_hashmap to simplify invariant checking</title>
<updated>2024-03-28T14:49:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-26T18:07:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ed67e615fd928f503d13772e37b809955d568ffd'/>
<id>urn:sha1:ed67e615fd928f503d13772e37b809955d568ffd</id>
<content type='text'>
Instead of making `streammap.rs` responsible for keeping track of a
count field, this lowers that functionality into a lower-level
CountedHashMap type.  Said type has a little more functionality than
we need, to sketch out how we'd want to develop it moving forward if
we find that it's useful elsewhere.

Closes #1344.
</content>
</entry>
<entry>
<title>Make filter conditional, to fix build with hs-service disabled.</title>
<updated>2024-03-26T16:55:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-26T13:13:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0f39aadd7e40bc8502d0fddd066ccc3a9f00163e'/>
<id>urn:sha1:0f39aadd7e40bc8502d0fddd066ccc3a9f00163e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor and simplify ClientCircSyncView</title>
<updated>2024-03-26T16:55:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-26T13:05:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f997375bbe65599f46d85be7104a5868b304455'/>
<id>urn:sha1:3f997375bbe65599f46d85be7104a5868b304455</id>
<content type='text'>
With this patch, it holds only a reference to `&amp;reactor.hops`,
which greatly simplifies the reactor code's fight with the
borrow checker.

I've left some TODO comments about future directions here.
</content>
</entry>
</feed>
