<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirserver/src/http.rs, branch arti-v2.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-07-22T12:25:53Z</updated>
<entry>
<title>Much formatting churn for 2024 edition</title>
<updated>2026-07-22T12:25:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-22T12:25:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e64263b921638ceb9c6adf3967fdde39e0a73db2'/>
<id>urn:sha1:e64263b921638ceb9c6adf3967fdde39e0a73db2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove now-unneeded allow(clippy::cognitive_complexity)</title>
<updated>2026-07-15T18:05:29Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-07-15T18:05:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e4c00405e703b6e274af2e3cfb000cab5a7c7837'/>
<id>urn:sha1:e4c00405e703b6e274af2e3cfb000cab5a7c7837</id>
<content type='text'>
</content>
</entry>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2026-03-24T16:04:08Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-24T16:04:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1fb2b8dd4aee7c943ce90d6631be473f2a296fe6'/>
<id>urn:sha1:1fb2b8dd4aee7c943ce90d6631be473f2a296fe6</id>
<content type='text'>
Typos found with codespell
</content>
</entry>
<entry>
<title>dirserver: Allow clippy::unused_async</title>
<updated>2026-01-27T19:11:05Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-27T18:28:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3599bd9e56864ae220d7c2126b1e1a66cded9d8b'/>
<id>urn:sha1:3599bd9e56864ae220d7c2126b1e1a66cded9d8b</id>
<content type='text'>
This code is still WIP, no need to address the lint yet.
</content>
</entry>
<entry>
<title>tor-dirserver: Remove FromStr for DocumentId</title>
<updated>2026-01-22T15:20:19Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-22T15:20:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e17869b7bc0e7c674d5d770aec8c5cd120246a4c'/>
<id>urn:sha1:e17869b7bc0e7c674d5d770aec8c5cd120246a4c</id>
<content type='text'>
This commit removes FromStr for DocumentId because it was only used in
testing anyways.

Instead, it replaces it with a simple From&lt;[u8; 32]&gt; only enabled in
test builds, which is sufficient for what we are trying to do.

An alternative would be to make the inner field pub, but this seems to
aggressive for a testing only thing.
</content>
</entry>
<entry>
<title>tor-dirserver: Rename `doc_id` to `docid`</title>
<updated>2026-01-19T10:01:59Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-15T14:53:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0ba6540a84dc6ee15b79cdb49137fa659f4a4de8'/>
<id>urn:sha1:0ba6540a84dc6ee15b79cdb49137fa659f4a4de8</id>
<content type='text'>
Because we went with `docid` in the database (due to `rowid`), it is
only natural to call the code variables `docid` too.
</content>
</entry>
<entry>
<title>tor-dirserver: Rename sha256 to docid in schema</title>
<updated>2026-01-19T10:01:59Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-15T14:50:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30d43c6384c57c7f90dbac7f40d496143cec6102'/>
<id>urn:sha1:30d43c6384c57c7f90dbac7f40d496143cec6102</id>
<content type='text'>
This commit renames the sha256 column to docid for the reason that we
agreed upon making the schema visible to all modules, so if we were to
encapsulate docid properly, this change is only natural.
</content>
</entry>
<entry>
<title>database: Introduce DocumentId</title>
<updated>2026-01-19T10:01:59Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-15T14:33:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2e0bf76a2878e7f9979dcac4bebe5b986596d6aa'/>
<id>urn:sha1:2e0bf76a2878e7f9979dcac4bebe5b986596d6aa</id>
<content type='text'>
This commit introduces a new type in the database module named
`DocumentId` for abstracting the underlying content-addressable hash
algorithm we are using.
</content>
</entry>
<entry>
<title>tor-dirserver: Move ContentEncoding to database</title>
<updated>2026-01-15T10:49:14Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2025-12-18T11:54:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=23cc9de36869513ea39ad6a8929bf2c31d26de99'/>
<id>urn:sha1:23cc9de36869513ea39ad6a8929bf2c31d26de99</id>
<content type='text'>
This commit moves the ContentEncoding enum from the http module to the
database module, primarily because the content encoding is more of a
matter to the database, as this is where the data actually resides.
</content>
</entry>
</feed>
