<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/parse/tokenize.rs, branch arti-v1.1.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.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-11-18T15:19:54Z</updated>
<entry>
<title>Fix a couple of rustdoc issues.</title>
<updated>2022-11-18T15:19:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-18T15:19:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=829cb708e2c3b7b3fd96df16e69bd5b766db0828'/>
<id>urn:sha1:829cb708e2c3b7b3fd96df16e69bd5b766db0828</id>
<content type='text'>
These slipped in while nightly was broken.
</content>
</entry>
<entry>
<title>Resolve a dead-code warning.</title>
<updated>2022-11-15T18:53:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-15T18:51:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2bd422663e531eb1c6c54bdeda6263a3751a115e'/>
<id>urn:sha1:2bd422663e531eb1c6c54bdeda6263a3751a115e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdoc: Allow empty lines at the end of a router descriptor.</title>
<updated>2022-11-15T16:27:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-15T16:17:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=89be0464661ec53e4f800ff6b5ccb5e0b1744ab6'/>
<id>urn:sha1:89be0464661ec53e4f800ff6b5ccb5e0b1744ab6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Add a new ErrorKind for EmptyLine.</title>
<updated>2022-11-15T16:27:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-15T16:01:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc7780bffd218699a4869eb76f97595a4f0cbc8d'/>
<id>urn:sha1:bc7780bffd218699a4869eb76f97595a4f0cbc8d</id>
<content type='text'>
Empty lines were previously reported as BadKeyword, which is
confusing.
</content>
</entry>
<entry>
<title>Fix some rustdoc errors.</title>
<updated>2022-10-13T13:08:46Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-10-13T13:08:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f267ba1661eb5a5b8ea891ed97289e08a1e8ec4'/>
<id>urn:sha1:8f267ba1661eb5a5b8ea891ed97289e08a1e8ec4</id>
<content type='text'>
In addition to the usual "You named that method wrong!" errors, we
have a new rustdoc error that complains about bogus "HTML tags" that
are actually unquoted usage of types like `Result&lt;Foo&gt;`.
</content>
</entry>
<entry>
<title>Replace `base64` crate with `base64ct` crate</title>
<updated>2022-06-22T01:02:33Z</updated>
<author>
<name>Arturo Marquez</name>
<email>arturomf94@gmail.com</email>
</author>
<published>2022-06-22T01:02:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6536ca0f61b329670a6c1b4cbaa5965f7659f849'/>
<id>urn:sha1:6536ca0f61b329670a6c1b4cbaa5965f7659f849</id>
<content type='text'>
Note: the `base64ct` crate rejects invalid characters when the
decoding is done on padded strings. However, the `FromStr` impl
for `B64` can have both padded **and** unpadded inputs, so all
inputs are now padded first, before decoding.
</content>
</entry>
<entry>
<title>netdoc: remove an unused method.</title>
<updated>2022-06-07T16:45:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-26T17:52:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c5e56c734d1c6315943e0548f4283bc56a4cb62d'/>
<id>urn:sha1:c5e56c734d1c6315943e0548f4283bc56a4cb62d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor tor_netdoc::Error</title>
<updated>2022-02-14T18:08:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-14T18:08:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b6d23c36bef1322e4fc6f89769222daa91c4d8f3'/>
<id>urn:sha1:b6d23c36bef1322e4fc6f89769222daa91c4d8f3</id>
<content type='text'>
This error type doesn't impement HasKind, since the kind will depend
on context.

However, the existing implementation was pretty messy and inconsistent:
Some errors had positions, some didn't.
Some took messages as str, some as String.
Some had internal errors that were somewhat orthogonal to their actual
types.

This commit refactors tor_netdoc::Error to use a ParseErrorKind, and
adds a set of convenience functions to add positions and
messages to the errors that need them.
</content>
</entry>
<entry>
<title>clippy: Suppress a warning</title>
<updated>2022-01-19T17:12:26Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-01-19T17:12:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5e16a52e1c657e95e889a7a4db54d3d417cfb6df'/>
<id>urn:sha1:5e16a52e1c657e95e889a7a4db54d3d417cfb6df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change an UTF-8 XXX to a TODO.</title>
<updated>2021-12-20T14:54:41Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-20T14:54:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a2afb29806b62d702668431672e75fdc5778547b'/>
<id>urn:sha1:a2afb29806b62d702668431672e75fdc5778547b</id>
<content type='text'>
We're assuming that prop285 is accepted in some form.
</content>
</entry>
</feed>
