<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-geoip/src, branch arti-v1.2.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.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-08-23T09:34:00Z</updated>
<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>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>
<entry>
<title>tor-geoip: Fix a doc warning</title>
<updated>2023-07-21T13:44:14Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-21T13:43:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f00ac8e747ba5a33f44655af6e660a95a0fca957'/>
<id>urn:sha1:f00ac8e747ba5a33f44655af6e660a95a0fca957</id>
<content type='text'>
cargo doc --locked --document-private-items --workspace --all-features

warning: unclosed HTML tag `CountryCode`
  --&gt; crates/tor-geoip/src/lib.rs:90:54
   |
90 |     /// We store these as NonZeroU8 so that an Option&lt;CountryCode&gt; only has to
   |                                                      ^^^^^^^^^^^^^
   |
   = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
</content>
</entry>
<entry>
<title>Merge branch 'cc_niche' into 'main'</title>
<updated>2023-07-20T12:18:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-20T12:18:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c498cc25122d77adc5ac47399677c7421c6dee37'/>
<id>urn:sha1:c498cc25122d77adc5ac47399677c7421c6dee37</id>
<content type='text'>
geoip: Enable the niche optimization for CountryCode.

See merge request tpo/core/arti!1384</content>
</entry>
<entry>
<title>geoip: Add derive macros to GeoipDb</title>
<updated>2023-07-18T14:39:52Z</updated>
<author>
<name>juga</name>
<email>juga@riseup.net</email>
</author>
<published>2023-07-18T10:29:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=92baa823b964797d7ee9ded2c7ae81ff12240fc6'/>
<id>urn:sha1:92baa823b964797d7ee9ded2c7ae81ff12240fc6</id>
<content type='text'>
to be able to debug it, for instance.
</content>
</entry>
<entry>
<title>geoip: Allow ASNs as zeros when creating NetDefn</title>
<updated>2023-07-18T14:39:52Z</updated>
<author>
<name>juga</name>
<email>juga@riseup.net</email>
</author>
<published>2023-07-18T09:41:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c42f84bd1ed5abde7d30b836e7d76dfd61c23edd'/>
<id>urn:sha1:c42f84bd1ed5abde7d30b836e7d76dfd61c23edd</id>
<content type='text'>
so that GeoipDb can be created from files including ASNs generated with
tor/scripts/maint/geoip/geoip-db-tool.

Closes #961
</content>
</entry>
<entry>
<title>Add country codes to relays inside a NetDir</title>
<updated>2023-07-13T16:47:00Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2023-06-30T14:09:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=41bb03c6cca995f44c6cc3b6ef03c0a90a80829a'/>
<id>urn:sha1:41bb03c6cca995f44c6cc3b6ef03c0a90a80829a</id>
<content type='text'>
- When the `geoip` feature flag of `tor-netdir` is enabled, perform
  GeoIP lookups for all relays added to the directory and add the
  resulting country code to the `Relay` struct.
  - The GeoIP database is provided in a new
    `PartialNetDir::new_with_geoip` constructor.
- A new trait was also added to `tor-linkspec`, `HasCountryCode`, to
  enable getting this data out from other crates.

Part of onionmasq#47.
</content>
</entry>
<entry>
<title>geoip: Use from_raw_parts instead of transmute.</title>
<updated>2023-07-13T15:53:41Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-07-13T12:56:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b53d42f23eaa5c917fff6dff7a5a613108f76592'/>
<id>urn:sha1:b53d42f23eaa5c917fff6dff7a5a613108f76592</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning to actually apply new lint allows</title>
<updated>2023-07-10T12:49:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-07-10T11:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=473447a82e099fd52a674c28f5bc24b3e05208c0'/>
<id>urn:sha1:473447a82e099fd52a674c28f5bc24b3e05208c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>geoip: Enable the niche optimization for CountryCode.</title>
<updated>2023-07-07T14:33:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-07-07T14:33:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6187b6d5ca9886f4f366d5c3a8f1e701569e724e'/>
<id>urn:sha1:6187b6d5ca9886f4f366d5c3a8f1e701569e724e</id>
<content type='text'>
Since we're going to be using `Option&lt;CountryCode&gt;` all over, let's
save the extra byte.

Sadly this required std::mem::transmute(), which is unsafe, so maybe
we should think twice.
</content>
</entry>
</feed>
