<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src, branch arti-v1.1.9</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.9</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.9'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-09-28T13:25:39Z</updated>
<entry>
<title>Upgrade event_listener dependency to 3.0.0</title>
<updated>2023-09-28T13:25:39Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-28T13:25:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ab33a193e64384c3111f53364c3870b731c69d30'/>
<id>urn:sha1:ab33a193e64384c3111f53364c3870b731c69d30</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arti-client: add exit selection with GeoIP country codes</title>
<updated>2023-09-18T11:25:36Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2023-08-22T15:52:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6fe895eb5c605e9c8de7ba871fc2114d65e098c'/>
<id>urn:sha1:a6fe895eb5c605e9c8de7ba871fc2114d65e098c</id>
<content type='text'>
This threads the country codes work through the rest of the codebase:

- `tor-dirmgr` will now enable GeoIP with the embedded database when the
  `geoip` future is enabled
  - This can be extended later using the `DirMgrConfig` to allow
    specifying a custom database; this is not done here, though
- `tor-circmgr`'s `SupportedCircUsage` and `TargetCircUsage` fields gain
  new `country_code` members to allow filtering circuits by country
  - These are `()` in builds where the `geoip` feature is not enabled --
    doing it this way means we don't have to copy and paste huge swathes
    of code, since we can't use `#[cfg]` in patterns
- `ExitPathBuilder` gains (hacked-in) support for choosing a relay with
  the correct country code
  - Due to the lack of conjuction, we just copy and paste a small bit,
    pending further refactoring
- `StreamPrefs` now lets you specify a country code, letting embedders
  make use of the feature
</content>
</entry>
<entry>
<title>Add cognitive-complexity exceptions for clippy.</title>
<updated>2023-09-06T02:34:56Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-30T18:43:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8b8faacd1cbcdd841a02cd0273f75377d5a91b3f'/>
<id>urn:sha1:8b8faacd1cbcdd841a02cd0273f75377d5a91b3f</id>
<content type='text'>
I have no idea why these became necessary.
</content>
</entry>
<entry>
<title>Run maint/add_warning to add lint block everywhere</title>
<updated>2023-08-23T09:34:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-08-22T14:28:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac'/>
<id>urn:sha1:42df88d6bf6dbb460d2e5e1cd4838aafaffbe9ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Resolve warnings about ambiguous/redundant doc links</title>
<updated>2023-08-22T13:00:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-22T13:00:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=80c921c6377a651ae6d6d5f65fb55f4884220416'/>
<id>urn:sha1:80c921c6377a651ae6d6d5f65fb55f4884220416</id>
<content type='text'>
Nightly rustdoc now warns if you have a link that isn't necessary,
and if you have a link that might refer to two different things.
</content>
</entry>
<entry>
<title>tor-dirclient: Make Requestable return requests with String bodies.</title>
<updated>2023-08-16T15:14:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-16T14:09:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cd6c4674dc560d9c1dc355cac627edac32138f2c'/>
<id>urn:sha1:cd6c4674dc560d9c1dc355cac627edac32138f2c</id>
<content type='text'>
It's simpler to always use a `String` to represent directory request bodies.
We no longer need the `StringBody` trait.
</content>
</entry>
<entry>
<title>tor-dirclient: Make the body type of a `Requestable` type configurable.</title>
<updated>2023-08-16T15:13:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-13T23:43:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8ce948bef970d3708365172d66394a5a68e1acac'/>
<id>urn:sha1:8ce948bef970d3708365172d66394a5a68e1acac</id>
<content type='text'>
Previously, the `Requestable` trait assumed the body of the request
would always be empty (`http::Request&lt;()&gt;`). This change replaces the
hardcoded `()` body type with the `Requestable::Body` associated type
(which will allow implementors to create requests with non-empty
bodies). This will enable us to reuse the `Requestable` trait for
building `POST` requests for uploading descriptors.
</content>
</entry>
<entry>
<title>tor-dirclient: Rename download() to send_request() (fmt).</title>
<updated>2023-08-16T15:13:27Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-14T00:20:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0fde1d09f50794163e2a5cb3a61f59a555d98c84'/>
<id>urn:sha1:0fde1d09f50794163e2a5cb3a61f59a555d98c84</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirclient: Rename download() to send_request().</title>
<updated>2023-08-16T15:13:20Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-08-11T18:26:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9a08f04a7698ae237e352c57ebb58456e727fc93'/>
<id>urn:sha1:9a08f04a7698ae237e352c57ebb58456e727fc93</id>
<content type='text'>
`download()` is actually a general-purpose function for sending HTTP
requests on a stream. We will soon repurpose it for `POST`-ing
descriptors, so let's rename it to `send_request`.
</content>
</entry>
<entry>
<title>Run add_warnings on all files.</title>
<updated>2023-08-04T11:45:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-08-04T11:45:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cec6d0ce33b4b5cebbce57f55faec83397e9c953'/>
<id>urn:sha1:cec6d0ce33b4b5cebbce57f55faec83397e9c953</id>
<content type='text'>
</content>
</entry>
</feed>
