<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-socksproto/src/handshake.rs, branch arti-v0.4.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-05-23T16:55:37Z</updated>
<entry>
<title>Resolve the new `derive_partial_eq_without_eq` lint.</title>
<updated>2022-05-23T16:55:37Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-23T16:32:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=546ae3000eb179aedc97de30b0ccdb1d45b93395'/>
<id>urn:sha1:546ae3000eb179aedc97de30b0ccdb1d45b93395</id>
<content type='text'>
It's a little overzealous sometimes, but it's mostly to the good.
</content>
</entry>
<entry>
<title>squash! Bump every crate's edition to 2021.</title>
<updated>2022-04-25T17:06:26Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-25T16:40:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2f6bc6bdc431fa36de70a167eea777dcf3f60bf2'/>
<id>urn:sha1:2f6bc6bdc431fa36de70a167eea777dcf3f60bf2</id>
<content type='text'>
Remove all `use` statements for `TryFrom` and `TryInto`.  These are
now redundant in Rust 2021.
</content>
</entry>
<entry>
<title>Merge branch 'error-socksproto-autoconvert' into 'main'</title>
<updated>2022-02-14T20:57:24Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-14T20:57:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e80d472beb3de3160a1cda2edcae210532ff4f15'/>
<id>urn:sha1:e80d472beb3de3160a1cda2edcae210532ff4f15</id>
<content type='text'>
Provide, and use From impl for InternalError

See merge request tpo/core/arti!315</content>
</entry>
<entry>
<title>Run rustfmt.</title>
<updated>2022-02-14T19:47:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-14T19:47:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=31075e80467575212c069430d463bc4044585716'/>
<id>urn:sha1:31075e80467575212c069430d463bc4044585716</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide, and use From impl for InternalError</title>
<updated>2022-02-14T18:48:35Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-14T18:48:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4774cbd18d06b2c3d6ece16784275b1d1a435fdc'/>
<id>urn:sha1:4774cbd18d06b2c3d6ece16784275b1d1a435fdc</id>
<content type='text'>
Adding this autoconversion is quite safe since every error generation
site is explicit and has its own context, and we don't really need to
add more.

This simplifies the code and will simplify future work.
</content>
</entry>
<entry>
<title>ErrorKind::NotImplemented: fix two tests</title>
<updated>2022-02-14T17:54:05Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-14T17:54:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b74f3a3c100639a1a9844244427b49fe0c0e0542'/>
<id>urn:sha1:b74f3a3c100639a1a9844244427b49fe0c0e0542</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Split up ErrorKind::NoSupport</title>
<updated>2022-02-14T16:06:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-14T15:58:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30ebb1358ad4be7b804f9c5824d1a05e853e6f69'/>
<id>urn:sha1:30ebb1358ad4be7b804f9c5824d1a05e853e6f69</id>
<content type='text'>
</content>
</entry>
<entry>
<title>socksproto: Simplify Truncated handling</title>
<updated>2022-02-11T14:36:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-11T13:42:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4e8db2b836415571dc6cdf239e2c22a6b16d33ad'/>
<id>urn:sha1:4e8db2b836415571dc6cdf239e2c22a6b16d33ad</id>
<content type='text'>
Refactor the Error type to remove the yucky internal hidden Truncated
variant.  Instead, there's now an embedded tor_bytes::Error value.

If that tor_bytes::Error is Truncated, we bubble it up when we convert our
handshake result to the nested error struct.

Thus there is still (sadly) a variant of tor_socksproto::Error
that shouldn't be exposed to user code.  But refactoring every
inner method under handshake.rs seemed like a bad idea: once we're using
Result&lt;Result&lt;..&gt;&gt;, the ? operator no longer helps us much.
</content>
</entry>
<entry>
<title>Move the Truncated error into tor-errors.</title>
<updated>2022-02-11T14:36:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-11T13:18:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f62b2600c7a3102ebf827259308f98d1ba72fc3b'/>
<id>urn:sha1:f62b2600c7a3102ebf827259308f98d1ba72fc3b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Try to resolve the "Truncated" error in tor-socksproto</title>
<updated>2022-02-11T14:36:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-09T17:18:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=22141d25168c0480e203bee594f77c23ce30922f'/>
<id>urn:sha1:22141d25168c0480e203bee594f77c23ce30922f</id>
<content type='text'>
I'm not in love with this solution; the others just seem a bit ugly
too.
</content>
</entry>
</feed>
