<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/netstatus/rs, branch arti-v0.3.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.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-04-25T17:06:26Z</updated>
<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>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 protover lines on descriptors</title>
<updated>2022-03-11T21:56:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-10T16:39:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a98ae2a1f06a50238a4eb89d5d181ccc5c1a65c2'/>
<id>urn:sha1:a98ae2a1f06a50238a4eb89d5d181ccc5c1a65c2</id>
<content type='text'>
This should save around 1MB per consensus, since every relay has a
'protocols' lines, but there are only a few distinct possibilities
for such a line.

Closes #385.
</content>
</entry>
<entry>
<title>netdoc: Make versions smaller in GenericRouterStatus</title>
<updated>2022-03-11T19:03:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-11T14:59:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e7c584f1b322d40f0bc50189000958d8dbadeec1'/>
<id>urn:sha1:e7c584f1b322d40f0bc50189000958d8dbadeec1</id>
<content type='text'>
When the version is a Tor version, we can just parse it; otherwise,
we can intern it.  This shrinks GenericRouterStatus and avoids a lot
of extra help allocations.
</content>
</entry>
<entry>
<title>tor-netdoc: Remove unused or_port field from RS.</title>
<updated>2022-03-11T19:03:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-10T20:57:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=da82c76399896fae8ccc31568727f1fae2ec69dd'/>
<id>urn:sha1:da82c76399896fae8ccc31568727f1fae2ec69dd</id>
<content type='text'>
Part of #387
</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>netdoc: Make doc-build errors a separate type</title>
<updated>2022-02-14T15:46:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-14T15:46:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b27c51d3a2ad4a7b8ec00c2a06be55af9459507a'/>
<id>urn:sha1:b27c51d3a2ad4a7b8ec00c2a06be55af9459507a</id>
<content type='text'>
Every other case of tor_netdoc::Error means a parse failure.  This one,
though, means a failure to construct  a document.
</content>
</entry>
<entry>
<title>Remove dir_port from RouterStatusBuilder</title>
<updated>2021-12-02T05:51:49Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-12-02T05:51:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f5362028b4a988cfd73abe4174bdedd14dbd29ca'/>
<id>urn:sha1:f5362028b4a988cfd73abe4174bdedd14dbd29ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'ticket125' into 'main'</title>
<updated>2021-11-16T18:31:00Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-11-16T18:31:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a85e83c8072a41407a33881157204ffe6bc2f840'/>
<id>urn:sha1:a85e83c8072a41407a33881157204ffe6bc2f840</id>
<content type='text'>
Put most non-universally-needed functionality behind features

Closes #125

See merge request tpo/core/arti!129</content>
</entry>
</feed>
