<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-geoip/src/lib.rs, branch arti-v1.1.6</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.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-06-28T11:56:09Z</updated>
<entry>
<title>geoip: conditionalise a test</title>
<updated>2023-06-28T11:56:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-27T14:59:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2656b8fa04453d31fac2d907c1a0c059342352f9'/>
<id>urn:sha1:2656b8fa04453d31fac2d907c1a0c059342352f9</id>
<content type='text'>
Without this, the build fails with
  cargo test --workspace --no-default-features --features=tokio,native-tls
</content>
</entry>
<entry>
<title>Merge branch 'stderr' into 'main'</title>
<updated>2023-06-21T16:41:10Z</updated>
<author>
<name>Alexander Færøy</name>
<email>ahf@torproject.org</email>
</author>
<published>2023-06-21T16:41:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d1658a120e4e52a844b2553470685def2f5227e0'/>
<id>urn:sha1:d1658a120e4e52a844b2553470685def2f5227e0</id>
<content type='text'>
lints: Promote clippy::print_stderr and clippy::print_stdout

See merge request tpo/core/arti!1271</content>
</entry>
<entry>
<title>lints: Run maint/add_warning to actually apply new lints (again)</title>
<updated>2023-06-21T15:44:49Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-21T15:44:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f7e86c87e62f29e3ecd8add5ee4c47327b26d16'/>
<id>urn:sha1:8f7e86c87e62f29e3ecd8add5ee4c47327b26d16</id>
<content type='text'>
I prepared 161b9844d against an earlier version of main without the
geoip crate.  Run maint/add_warning again.
</content>
</entry>
<entry>
<title>geoip: Add a few more tests.</title>
<updated>2023-06-20T20:22:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-20T20:21:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8676b27e952fe7139675d36c869fd99292c192ee'/>
<id>urn:sha1:8676b27e952fe7139675d36c869fd99292c192ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>geoip: Explain in more detail what a CountryCode is to us.</title>
<updated>2023-06-20T20:22:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-20T20:11:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b0342a8ede51415d37f9a90029ea45b2ee3b9177'/>
<id>urn:sha1:b0342a8ede51415d37f9a90029ea45b2ee3b9177</id>
<content type='text'>
</content>
</entry>
<entry>
<title>geoip: require that ccs actually are printable ascii.</title>
<updated>2023-06-20T20:22:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-20T18:20:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f918a86c10df56e0944f9a4c25c312bcdb2932cc'/>
<id>urn:sha1:f918a86c10df56e0944f9a4c25c312bcdb2932cc</id>
<content type='text'>
(There are plenty of strings that convert into 2 bytes of UTF8
without being two ascii characters, and there are plenty of
sequences of two ascii characters that aren't printable.)
</content>
</entry>
<entry>
<title>geoip: Make ?? a little more bullet-proof</title>
<updated>2023-06-20T20:22:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-20T18:15:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cf9d902320d86ccf7cabf70772cd1a01a0af9029'/>
<id>urn:sha1:cf9d902320d86ccf7cabf70772cd1a01a0af9029</id>
<content type='text'>
We want to make sure that ?? is always None, never a CountryCode.
</content>
</entry>
<entry>
<title>tor-geoip: Add new crate with GeoIP database functionality</title>
<updated>2023-06-20T15:57:58Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2023-06-13T14:27:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d5632eacb2b0c03e6f250f6fbe435d921dea4f8e'/>
<id>urn:sha1:d5632eacb2b0c03e6f250f6fbe435d921dea4f8e</id>
<content type='text'>
- This adds a new crate, `tor-geoip`, which can parse and perform
  lookups in the GeoIP database C-tor already uses (generated by a
  maintenance utility in the C-tor codebase).
- We embed a copy of C-tor's databases with the crate and use
  `include_str!` to ship them with the binary, bloating its size
  somewhat.
  - This does, however, solve the problem of figuring out how to
    distribute these.
  - The plan is to gate this functionality behind a feature flag anyway,
    so the cost should be nil unless explicitly opted into.

Part of tpo/core/onionmasq#47.
</content>
</entry>
</feed>
