<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-bytes/src/reader.rs, branch arti-v1.0.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.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-06-10T11:30:22Z</updated>
<entry>
<title>tor-bytes: read_nested_*: rustfmt</title>
<updated>2022-06-10T11:30:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-10T11:30:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=03a19f3877c9ae5008f8a88caa978f8cd4aaf7d9'/>
<id>urn:sha1:03a19f3877c9ae5008f8a88caa978f8cd4aaf7d9</id>
<content type='text'>
I disagree with almost all of these layout decisions...
</content>
</entry>
<entry>
<title>tor-bytes: read_nested_*: Take a closure</title>
<updated>2022-06-10T11:27:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-09T17:31:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8fe63b3192ba631644fee561bb4ec895f2ae8d09'/>
<id>urn:sha1:8fe63b3192ba631644fee561bb4ec895f2ae8d09</id>
<content type='text'>
This eliminates the possibility of writing the bug of failing to call
`should_be_exhausted`.

As per this discussion
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/572#note_2811464

Fixes #498
</content>
</entry>
<entry>
<title>Fix typos in docs and comments</title>
<updated>2022-06-09T16:08:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-09T14:13:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a2c6bd08fe90653dbe7b5889ef11ec9eec4c5c96'/>
<id>urn:sha1:a2c6bd08fe90653dbe7b5889ef11ec9eec4c5c96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-bytes: Provide nested readers</title>
<updated>2022-06-09T16:08:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-07T19:18:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6a48c3c280e6ae0d02b47e2b04ab64f5a962cb8'/>
<id>urn:sha1:a6a48c3c280e6ae0d02b47e2b04ab64f5a962cb8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-bytes: Reader: Provide take_rest</title>
<updated>2022-06-09T16:08:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-06-07T16:50:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=04bca2e75aad6849f1bd199c56e8b5cfdee1d45d'/>
<id>urn:sha1:04bca2e75aad6849f1bd199c56e8b5cfdee1d45d</id>
<content type='text'>
We'll want this in a moment.
</content>
</entry>
<entry>
<title>Fix/suppress a few more clippy lints in tests.</title>
<updated>2021-09-08T18:20:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-09-08T18:20:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ab0c80de2ba210f189207c535db6454ef6d179c6'/>
<id>urn:sha1:ab0c80de2ba210f189207c535db6454ef6d179c6</id>
<content type='text'>
I'm alright with allowing cognitive-complexity violations in the
tests.
</content>
</entry>
<entry>
<title>fix/silence clippy lints in test modules</title>
<updated>2021-09-08T15:28:31Z</updated>
<author>
<name>Daniel Eades</name>
<email>danieleades@hotmail.com</email>
</author>
<published>2021-08-30T07:52:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fb3b8b84b5709ebe8a29051c43b82c4eef85decc'/>
<id>urn:sha1:fb3b8b84b5709ebe8a29051c43b82c4eef85decc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improvements to array-of-u8 handling in tor-bytes.</title>
<updated>2021-09-07T13:46:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-09-07T13:40:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=97692e3cc280bc1930474e58dbaba142b2f99429'/>
<id>urn:sha1:97692e3cc280bc1930474e58dbaba142b2f99429</id>
<content type='text'>
Now that we have const generics, we can use them.  We can also avoid
an extra clone in the implementation for [u8; N].

Nothing in our codebase requires that we use Reader or Writer on a
GenericArray holding anything other than u8, so I've switched back
to the more efficient implementation there.

I've added a fuzzer case for the new method, but apparently rustc nightly isn't working too
well with fuzzers for me; I'm going to try it tomorrow.
</content>
</entry>
<entry>
<title>Move all crates into a `crates` subdirectory.</title>
<updated>2021-08-27T13:53:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-08-27T13:53:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=557a0ff40b3731d4690767de27010bbeff08777d'/>
<id>urn:sha1:557a0ff40b3731d4690767de27010bbeff08777d</id>
<content type='text'>
This will cause some pain for now, but now is really the best time
to do this kind of thing.
</content>
</entry>
</feed>
