<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/netstatus/rs.rs, branch derive-traits</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=derive-traits</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=derive-traits'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-02-14T18:08:28Z</updated>
<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>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>
<entry>
<title>Remove the unused `published` field from GenericRouterStatus.</title>
<updated>2021-11-12T18:54:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-12T18:54:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=69bb6313fd16a232d06af9596c6b3bb72115a0f1'/>
<id>urn:sha1:69bb6313fd16a232d06af9596c6b3bb72115a0f1</id>
<content type='text'>
This field isn't used in modern Tor, and has never been used in
Arti.  If tor!489 is merged, then it will no longer contain a useful
value in future consensuses.  We shouldn't store it, or else
somebody else will get the smart idea of using it for something.

This commit breaks API compatibility for tor-netdoc with the
`build_docs` feature enabled.  I haven't entered that into the
semver_status.md file, since we already have a pending tor-netdoc
API breaker in !129.
</content>
</entry>
<entry>
<title>tor-netdoc: put NS consensus documents behind a feature.</title>
<updated>2021-11-12T17:15:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-12T16:49:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=773c0dc3326d942a3d15105f572627b00b3b8e38'/>
<id>urn:sha1:773c0dc3326d942a3d15105f572627b00b3b8e38</id>
<content type='text'>
Clients never need these.

Part of #125.
</content>
</entry>
<entry>
<title>tor-netdoc: Split the two kinds of routerstatus into their own modules</title>
<updated>2021-11-12T17:15:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-12T16:38:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=84fbff54a5b071de65ac3cc55f61a49f07266441'/>
<id>urn:sha1:84fbff54a5b071de65ac3cc55f61a49f07266441</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix most warnings from nightly.</title>
<updated>2021-10-19T20:21:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-19T20:21:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=445ec6d22053d3f76534844b6c02aefa1fbaedd7'/>
<id>urn:sha1:445ec6d22053d3f76534844b6c02aefa1fbaedd7</id>
<content type='text'>
(One represents code that I forgot to write.)
</content>
</entry>
<entry>
<title>Document every macro.</title>
<updated>2021-09-07T12:44:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-09-07T12:44:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bd2c9fd8c139303ff2965843c6e952e6ae152149'/>
<id>urn:sha1:bd2c9fd8c139303ff2965843c6e952e6ae152149</id>
<content type='text'>
(The nightly version of clippy now includes macros for its
missing_docs_in_private_items lint.)
</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>
