<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-linkspec/src/ls.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-05-10T16:30:32Z</updated>
<entry>
<title>Change CircTarget::linkspecs() to return an encoded list.</title>
<updated>2023-05-10T16:30:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-10T16:25:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7ce808b75bb500f27ce7837d4f76cbf7fc1ee705'/>
<id>urn:sha1:7ce808b75bb500f27ce7837d4f76cbf7fc1ee705</id>
<content type='text'>
If we didn't do this, we would need to transfrom
`EncodedLinkSpec`s into a `LinkSpec::Unrecognized`, which is not
semantically right.  What's more, every user of this API wants to
consume encoded link specifiers, so encoding them early saves a
little effort.
</content>
</entry>
<entry>
<title>linkspec: Make LinkSpecType public.</title>
<updated>2023-05-10T16:19:37Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-10T16:19:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a86aff8399655d0468a483d1ee6814653a37216f'/>
<id>urn:sha1:a86aff8399655d0468a483d1ee6814653a37216f</id>
<content type='text'>
This lets us check the type of an `EncodedLinkSpec` as well, and
lets us remove an interface that took a raw u8.
</content>
</entry>
<entry>
<title>linkspec: define conversion functions for EncodedLinkSpec</title>
<updated>2023-05-10T15:40:40Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-09T15:31:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4e5d7cecca51b48f540d8cd3d4f37fe9948db232'/>
<id>urn:sha1:4e5d7cecca51b48f540d8cd3d4f37fe9948db232</id>
<content type='text'>
This commit adds functions to convert between LinkSpec and
EncodedLinkSpec, and refactors their read/write implementations a
bit to avoid code duplication.
</content>
</entry>
<entry>
<title>Rename UnparsedLinkSpec =&gt; EncodedLinkSpec</title>
<updated>2023-05-10T15:23:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-05-10T15:23:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=02785ca6505572bdbfaa560178f299e30f7bc7e8'/>
<id>urn:sha1:02785ca6505572bdbfaa560178f299e30f7bc7e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-linkspec: Add a constructor for UnparsedLinkSpec</title>
<updated>2023-03-06T13:45:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-06T13:45:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7129807843a8b71a5ef106f3ca65a63244faaf8d'/>
<id>urn:sha1:7129807843a8b71a5ef106f3ca65a63244faaf8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-linkspec: New UnparsedLinkspec type.</title>
<updated>2023-02-17T20:26:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-17T20:26:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc68974212654ed9d1ff530aba071d241d047de4'/>
<id>urn:sha1:bc68974212654ed9d1ff530aba071d241d047de4</id>
<content type='text'>
Unlike linkspec, this doesn't validate the actual contents of the
specifiers. We'll use this so we can handle the linkspec list for an
introduction point in an HsDesc, and just pass it on when
constructing our circuits.

I haven't added any accessor or constructor functions, because I
don't expect to need them.
</content>
</entry>
<entry>
<title>tor-linkspec: LinkSpec parsing: use read_nested_u8len (fmt)</title>
<updated>2023-02-06T16:08:32Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-06T16:07:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a0a740ffc1e3d89c7d78c222acb243a2f4799ee0'/>
<id>urn:sha1:a0a740ffc1e3d89c7d78c222acb243a2f4799ee0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-linkspec: LinkSpec parsing: use read_nested_u8len</title>
<updated>2023-02-06T16:08:21Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-02-06T15:56:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5997d99a7a634405c1f0f504f0e1c994554e4999'/>
<id>urn:sha1:5997d99a7a634405c1f0f504f0e1c994554e4999</id>
<content type='text'>
This eliminates hardcoded length values.
</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>test lint blocks: Add many many automatically</title>
<updated>2022-12-12T18:00:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-12-12T17:58:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=125a455bdcca841931f33f83f206e57637ae85c4'/>
<id>urn:sha1:125a455bdcca841931f33f83f206e57637ae85c4</id>
<content type='text'>
This is precisely the result of running the rune in
maint/adhoc-add-lint-blocks.
</content>
</entry>
</feed>
