<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/microdesc.rs, branch tor-dirmgr-v0.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-06-07T16:45:59Z</updated>
<entry>
<title>microdesc: make sure we recover from an error in the final md.</title>
<updated>2022-06-07T16:45:59Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-26T18:20:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d30899d38791d1f81a8d58ac14dbc79fdc062fa7'/>
<id>urn:sha1:d30899d38791d1f81a8d58ac14dbc79fdc062fa7</id>
<content type='text'>
(This is slightly different from recovering from errors in the
middle of a list of mds, since in this case we _can't_ advance to the
next md.)

Also, note that a given branch is probably not reachable.
</content>
</entry>
<entry>
<title>netdoc: test case for microdesc with no ed25519 id.</title>
<updated>2022-06-07T16:45:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-26T18:11:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42d6d02fbee7a16ac7211292acc378f3c03662ee'/>
<id>urn:sha1:42d6d02fbee7a16ac7211292acc378f3c03662ee</id>
<content type='text'>
The "bad-id" microdescriptor is hand-edited based on one from a
Chutney network.
</content>
</entry>
<entry>
<title>Re-order attributes so that we can build with Rust 1.53.</title>
<updated>2022-03-31T15:11:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-31T15:06:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0725e388a592a8ab7e2235fef2b2d7a396fe64d0'/>
<id>urn:sha1:0725e388a592a8ab7e2235fef2b2d7a396fe64d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Conditionally expose document fields.</title>
<updated>2022-03-31T13:27:27Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-31T13:20:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b1b7ef00a0f96c3d878788cd890ed67656bcc1f4'/>
<id>urn:sha1:b1b7ef00a0f96c3d878788cd890ed67656bcc1f4</id>
<content type='text'>
This commit uses the `visibility` and `visible` crates to
conditionally make certain structs and their fields public
(respectively).  This is incredibly dangerous to use for anything
besides testing, and I've tried to write the documentation for the
feature accordingly.
</content>
</entry>
<entry>
<title>Canonicalize and intern family representations to save memory.</title>
<updated>2022-03-11T21:54:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-10T16:17:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=16f1bda3241e9f92a41a187cbb06c1c0b659a67c'/>
<id>urn:sha1:16f1bda3241e9f92a41a187cbb06c1c0b659a67c</id>
<content type='text'>
This should save 1-3 MB of ram on each running arti client.

Closes #384. See also tor#27359 and proposal 298.
</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>fix nightly clippy errors</title>
<updated>2021-12-09T11:16:23Z</updated>
<author>
<name>Trinity Pointard</name>
<email>trinity.pointard@gmail.com</email>
</author>
<published>2021-12-09T11:16:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9753a7ee06d1dad9b9dbaa1653593bb545d4cf59'/>
<id>urn:sha1:9753a7ee06d1dad9b9dbaa1653593bb545d4cf59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add comments about the absence of tap_key in microdesc.</title>
<updated>2021-11-30T19:05:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-30T19:05:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e2a7289aa7145f3dfee9c7636258110ac522207c'/>
<id>urn:sha1:e2a7289aa7145f3dfee9c7636258110ac522207c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Parse RSA public key</title>
<updated>2021-11-29T19:00:53Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-11-29T16:53:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d47549b1ab13eba4d01fb42c454e696c50ceb104'/>
<id>urn:sha1:d47549b1ab13eba4d01fb42c454e696c50ceb104</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unused tap_onion_key and tap_key</title>
<updated>2021-11-29T04:36:02Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-11-29T04:32:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2cde3608dadb389e4043f58721814a0b914c4714'/>
<id>urn:sha1:2cde3608dadb389e4043f58721814a0b914c4714</id>
<content type='text'>
</content>
</entry>
</feed>
