<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/build.rs, branch arti-v1.1.5</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.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-03-27T18:07:41Z</updated>
<entry>
<title>Make the HS encoder randomness source injectable.</title>
<updated>2023-03-27T18:07:41Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-03-27T17:02:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=70d247e59c5fd0a161392aaccdcecae4bac3afef'/>
<id>urn:sha1:70d247e59c5fd0a161392aaccdcecae4bac3afef</id>
<content type='text'>
This makes it possible to plug in a deterministic randomness source for
testing.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Remove `NetdocText` and replace its uses with `String`.</title>
<updated>2023-03-24T18:58:34Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-03-23T19:11:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2fda37f5ea8653a61ad1e04e96fa1dce32cb676f'/>
<id>urn:sha1:2fda37f5ea8653a61ad1e04e96fa1dce32cb676f</id>
<content type='text'>
`NetdocText` is a wrapper around a `String` and a type marker. The type
annotation proved of limited use, and made the netdoc builder API
somewhat awkward to use.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Add builder for encoding hidden service descriptors.</title>
<updated>2023-03-24T18:57:49Z</updated>
<author>
<name>Gabi Moldovan</name>
<email>gabi@gotpcrel.net</email>
</author>
<published>2023-03-16T13:51:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a1074c00276b3f009444a9af0ee06a0f2d08d721'/>
<id>urn:sha1:a1074c00276b3f009444a9af0ee06a0f2d08d721</id>
<content type='text'>
This introduces the `NetdocBuilder` trait described in
`netdoc-builder.md` and a new `tor-netdoc::doc::hsdesc::build` module,
which exports the `HsDescBuilder`. Hidden services will use
`HsDescBuilder` to build and encode hidden service descriptors.

There are several TODOs in the code that I'm planning to address
separately.

Partially addresses #745.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Implement `ItemArgument` for `String`.</title>
<updated>2023-03-24T18:54:35Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-03-17T14:15:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1394a811421b371449042721b98c0dccea7e9287'/>
<id>urn:sha1:1394a811421b371449042721b98c0dccea7e9287</id>
<content type='text'>
This makes some code a bit more concise, as it allows us to make
`Strings` into `ItemArgument`s without calling `.as_str()`.

Signed-off-by: Gabriela Moldovan &lt;gabi@torproject.org&gt;
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2023-01-27T23:31:10Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2023-01-27T23:31:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3da36c5c8b9d546aad5a21fff307c5b3dace3a08'/>
<id>urn:sha1:3da36c5c8b9d546aad5a21fff307c5b3dace3a08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>netdoc builder: Add two TODOs, prompted by testing experience</title>
<updated>2023-01-24T16:15:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-01-24T15:35:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=15a543d738fbf1bacb66e2c886d119e96507a5b6'/>
<id>urn:sha1:15a543d738fbf1bacb66e2c886d119e96507a5b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdoc builder test: Make a bigger dummy document and test reparsing</title>
<updated>2023-01-24T16:15:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-01-24T15:54:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=be1cd7789dbcca1e7aad58ebb6bb12c8594d9dd2'/>
<id>urn:sha1:be1cd7789dbcca1e7aad58ebb6bb12c8594d9dd2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdoc builder: Implement object() and add one test case</title>
<updated>2023-01-24T16:15:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-01-24T16:01:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eb3b261595628a7104f97fd5d2664892c443f345'/>
<id>urn:sha1:eb3b261595628a7104f97fd5d2664892c443f345</id>
<content type='text'>
</content>
</entry>
<entry>
<title>netdoc-builder: Initial test case (no object yet)</title>
<updated>2023-01-24T16:15:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-01-23T18:10:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4f0d17d96d9cf475268d2447a1b2f9b0b932114b'/>
<id>urn:sha1:4f0d17d96d9cf475268d2447a1b2f9b0b932114b</id>
<content type='text'>
</content>
</entry>
</feed>
