<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/encode.rs, branch arti-v2.4.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-05-12T20:55:43Z</updated>
<entry>
<title>Upgrade rand crates to 0.10.</title>
<updated>2026-05-12T20:55:43Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-05-07T20:06:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a18167928901d8c88cd1cdd87346de8ad1ee42a2'/>
<id>urn:sha1:a18167928901d8c88cd1cdd87346de8ad1ee42a2</id>
<content type='text'>
When the circ-padding feature is enabled, we use maybenot, which does
not yet support rand 0.10. In the meantime, enabling this feature pulls
in rand 0.9. This is not ideal, but should be okay as a temporary
situation.

This also replaces the use of ReseedingRng (which was removed in 0.10)
with the reseeding_rng crate. This is somewhat less performant, but it
should be okay.
</content>
</entry>
<entry>
<title>tor-netdoc: Move FromStr and Display from NormalItemArgument to impls</title>
<updated>2026-04-29T10:20:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-27T14:43:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4c75ba0cb8c036e4b330f1f10740e7c29e8379de'/>
<id>urn:sha1:4c75ba0cb8c036e4b330f1f10740e7c29e8379de</id>
<content type='text'>
This allows implementing NormalItemArgument for types that can only be
parsed, or only displayed - or other combinations.

I noticed this restriction while inventing a type I later decided was
unnecessary.  I still think it's a good change.

There is no practical impact elsewhere, since in practice downstream
code implements NormalItemArgument rather than relying on it.
</content>
</entry>
<entry>
<title>tor-netdoc: Implement encoding traits for Arc&lt;T&gt;</title>
<updated>2026-04-21T12:42:43Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-07T11:46:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ffc631750f542aa7b41d5fd1d9a035004690bd15'/>
<id>urn:sha1:ffc631750f542aa7b41d5fd1d9a035004690bd15</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: encode: Move various ItemArgument impls to impls.rs</title>
<updated>2026-04-01T11:33:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-01T10:31:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cadbd63b8628b668efd0e6d471d0122195d462f9'/>
<id>urn:sha1:cadbd63b8628b668efd0e6d471d0122195d462f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: impl encoding traits for rsa::PublicKey</title>
<updated>2026-04-01T11:18:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-26T11:37:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8555bed910ea6cb424e1ed3519da911c30f8ab73'/>
<id>urn:sha1:8555bed910ea6cb424e1ed3519da911c30f8ab73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Provide ItemEncoder::text_sofar()</title>
<updated>2026-04-01T11:18:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-26T13:49:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ecca83cefb0d30dcd7211009de20a0465c45a367'/>
<id>urn:sha1:ecca83cefb0d30dcd7211009de20a0465c45a367</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Provide ItemEncoder::object() taking an ItemObjectEncodable</title>
<updated>2026-04-01T11:18:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-26T11:37:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8ebcca9105b7ed6a88e32883a10884e20417ff93'/>
<id>urn:sha1:8ebcca9105b7ed6a88e32883a10884e20417ff93</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: encode: re-export netdoc_ordering_check for macros</title>
<updated>2026-04-01T11:18:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-01T11:17:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=daca6c6df3dccb3e43613e0ddcaeb955dbbc1686'/>
<id>urn:sha1:daca6c6df3dccb3e43613e0ddcaeb955dbbc1686</id>
<content type='text'>
Otherwise deriving NetdocEncodable doesn't work outside this crate.
</content>
</entry>
<entry>
<title>tor-netdoc: encoder: Rename .object() method to .object_bytes</title>
<updated>2026-03-31T12:41:59Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-26T11:32:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=282759da35ba4499ec222a3a473b62b51d411a96'/>
<id>urn:sha1:282759da35ba4499ec222a3a473b62b51d411a96</id>
<content type='text'>
With the introduction of the derives for document encoding, we now
have a trait ItemObjectEncodable.  We will want a method on
ItemEncoder that takes an ItemObjectEncodable, and that should be
called `object` since it's a better approach than working ad-hoc with
tor_bytes::Writeable.  (For example, an ItemObjectEncodable knows its
own label.)

So, rename `object` to `object_bytes`.
</content>
</entry>
<entry>
<title>tor-netdoc: encoding: Plan for encoding signed documents</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-10T16:53:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2b99290df08812d8129df87c41d99f1098967794'/>
<id>urn:sha1:2b99290df08812d8129df87c41d99f1098967794</id>
<content type='text'>
</content>
</entry>
</feed>
