<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdir/semver.md, branch arti-v1.0.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-08-10T14:48:57Z</updated>
<entry>
<title>Merge branch 'main' into 'linkspec_refactor_v3'</title>
<updated>2022-08-10T14:48:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-10T14:48:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=36a28a8587bbef44daa735c52a0207434989f11b'/>
<id>urn:sha1:36a28a8587bbef44daa735c52a0207434989f11b</id>
<content type='text'>
# Conflicts:
#   crates/tor-netdir/semver.md</content>
</entry>
<entry>
<title>netdir: remove long-unused missing_descriptor_for code</title>
<updated>2022-08-10T14:39:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-05T16:47:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d1b2dd6fcbe857a13e6df6257acce58d48c11d6d'/>
<id>urn:sha1:d1b2dd6fcbe857a13e6df6257acce58d48c11d6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-linkspec: Refactor out traits to represent a relay's ID set.</title>
<updated>2022-08-02T16:40:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-26T14:03:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b68a3ed5e55c4f04c534fc4c643ad1178848d4f7'/>
<id>urn:sha1:b68a3ed5e55c4f04c534fc4c643ad1178848d4f7</id>
<content type='text'>
We want the set of identities supported by a relay to be extensible
in the future with minimal fuss; we'd also like to make working
with these ID sets more convenient.  To handle that, this commit
adds a new trait for "Something that has the same IDs as a relay"
and a new object for "an owned representation of a relay's IDs."

This commit introduces a similar trait for "Something with a list of
SocketAddr, like a relay has."  There's no owned equivelent for
that, since Vec&lt;SocketAddr&gt; is already a thing.

Closes #428.
</content>
</entry>
<entry>
<title>Add params() method to NetDirProvider, and partial implementation</title>
<updated>2022-08-02T13:50:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-02T13:50:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9d2fb92c37ec4271134e740673b012890fc7b8e2'/>
<id>urn:sha1:9d2fb92c37ec4271134e740673b012890fc7b8e2</id>
<content type='text'>
This method will let users get the latest `NetParameters`, with
user-configured overrides, even if there is no current directory at
all.

Part of #528
</content>
</entry>
<entry>
<title>Now that versions have bumped, remove semver.md files.</title>
<updated>2022-08-01T14:07:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-01T14:07:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b16c042004e09d34ba134c1bf6a4da38a13e2826'/>
<id>urn:sha1:b16c042004e09d34ba134c1bf6a4da38a13e2826</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdir: Remove latest_netdir method.</title>
<updated>2022-07-26T09:41:38Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-25T16:09:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=241427ea3ff399228e6a2be4a0ec971084a326de'/>
<id>urn:sha1:241427ea3ff399228e6a2be4a0ec971084a326de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add new APIs to NetDirProvider to better support timeliness.</title>
<updated>2022-07-26T09:40:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-25T14:55:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c39aa5de73fb8f1747752b7b722e8b94b01e315b'/>
<id>urn:sha1:c39aa5de73fb8f1747752b7b722e8b94b01e315b</id>
<content type='text'>
Over the years we've found that most callers who want a netdir want
what C Tor calls a "reasonably live" network directory: One that is
not expired by too much, or too far in the future. But a few want a
_strictly_ live directory: one that says it is valid now, with no
tolerances.  And a few want _any_ directory, no matter how expired
it is.

This commit adds net methods to NetDirProvider to provide these
directories.  I think that most use cases will want to explicitly
think about what kind of directory they want, so I've made `netdir`
the simplest method.  I might remove `timely_netdir` by the end of
this branch; see TODO comments.

Part of #518.
</content>
</entry>
<entry>
<title>netdir: Make pick() functions take FnMut closures.</title>
<updated>2022-07-12T15:43:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-12T15:43:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98cda34fb82435cb082dd233e32bfe2cf63c499f'/>
<id>urn:sha1:98cda34fb82435cb082dd233e32bfe2cf63c499f</id>
<content type='text'>
There's no reason to enforce their being Fn closures, and allowing
them to be FnMut allows us to count which filters make us rejected
given relays.
</content>
</entry>
<entry>
<title>Remove semver.md files now that 0.5.0 is out</title>
<updated>2022-06-24T17:31:38Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-24T17:31:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1dda69af2b102b72c149503b49f7e598a8f8af5e'/>
<id>urn:sha1:1dda69af2b102b72c149503b49f7e598a8f8af5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make NetDirProvider require Send and Sync.</title>
<updated>2022-06-07T15:44:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-02T21:07:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2223398eb1670c159151bc9aae5fed346b88c904'/>
<id>urn:sha1:2223398eb1670c159151bc9aae5fed346b88c904</id>
<content type='text'>
Our own code is the only stuff that consumes NetDirProvider, and all
the code that consumes it wants it to be Send and Sync.

Making this change avoids our having to define a new function to
upcast Arc&lt;dyn Foo&gt; to Arc&lt;dyn NetDirProvider + Send + Sync&gt;.
</content>
</entry>
</feed>
