<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirserver/Cargo.toml, branch arti-v2.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-v2.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-03-30T19:00:25Z</updated>
<entry>
<title>Bump versions: tor-* and arti-* unstable crates</title>
<updated>2026-03-30T19:00:25Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-30T18:58:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=44585ca52cf2dad1f1f3495df54fe9ed6e96d31a'/>
<id>urn:sha1:44585ca52cf2dad1f1f3495df54fe9ed6e96d31a</id>
<content type='text'>
As per
  https://gitlab.torproject.org/tpo/core/arti/-/issues/2436#note_3384773

Made with
  nailing-cargo -Eu set-version -p arti-client 0.41.0
  nailing-cargo -Eu set-version -p arti-relay 0.41.0
  nailing-cargo -Eu set-version -p arti-rpcserver 0.41.0
  nailing-cargo -Eu set-version -p arti-ureq 0.41.0
  nailing-cargo -Eu set-version -p arti-rpc-client-core 0.41.0
  nailing-cargo -Eu set-version -p tor-basic-utils 0.41.0
  nailing-cargo -Eu set-version -p tor-error 0.41.0
  nailing-cargo -Eu set-version -p tor-general-addr 0.41.0
  nailing-cargo -Eu set-version -p tor-geoip 0.41.0
  nailing-cargo -Eu set-version -p tor-memquota-cost 0.41.0
  nailing-cargo -Eu set-version -p tor-llcrypto 0.41.0
  nailing-cargo -Eu set-version -p tor-cert-x509 0.41.0
  nailing-cargo -Eu set-version -p tor-rtcompat 0.41.0
  nailing-cargo -Eu set-version -p tor-rtmock 0.41.0
  nailing-cargo -Eu set-version -p tor-async-utils 0.41.0
  nailing-cargo -Eu set-version -p tor-config 0.41.0
  nailing-cargo -Eu set-version -p tor-config-path 0.41.0
  nailing-cargo -Eu set-version -p tor-rpc-connect 0.41.0
  nailing-cargo -Eu set-version -p tor-log-ratelim 0.41.0
  nailing-cargo -Eu set-version -p tor-rpcbase 0.41.0
  nailing-cargo -Eu set-version -p tor-memquota 0.41.0
  nailing-cargo -Eu set-version -p tor-units 0.41.0
  nailing-cargo -Eu set-version -p tor-bytes 0.41.0
  nailing-cargo -Eu set-version -p tor-protover 0.41.0
  nailing-cargo -Eu set-version -p tor-checkable 0.41.0
  nailing-cargo -Eu set-version -p tor-cert 0.41.0
  nailing-cargo -Eu set-version -p tor-key-forge 0.41.0
  nailing-cargo -Eu set-version -p tor-hscrypto 0.41.0
  nailing-cargo -Eu set-version -p tor-socksproto 0.41.0
  nailing-cargo -Eu set-version -p tor-linkspec 0.41.0
  nailing-cargo -Eu set-version -p tor-cell 0.41.0
  nailing-cargo -Eu set-version -p tor-persist 0.41.0
  nailing-cargo -Eu set-version -p tor-keymgr 0.41.0
  nailing-cargo -Eu set-version -p tor-relay-crypto 0.41.0
  nailing-cargo -Eu set-version -p tor-proto 0.41.0
  nailing-cargo -Eu set-version -p tor-netdoc 0.41.0
  nailing-cargo -Eu set-version -p tor-consdiff 0.41.0
  nailing-cargo -Eu set-version -p tor-netdir 0.41.0
  nailing-cargo -Eu set-version -p tor-relay-selection 0.41.0
  nailing-cargo -Eu set-version -p tor-chanmgr 0.41.0
  nailing-cargo -Eu set-version -p tor-ptmgr 0.41.0
  nailing-cargo -Eu set-version -p tor-dircommon 0.41.0
  nailing-cargo -Eu set-version -p tor-guardmgr 0.41.0
  nailing-cargo -Eu set-version -p tor-circmgr 0.41.0
  nailing-cargo -Eu set-version -p tor-dirclient 0.41.0
  nailing-cargo -Eu set-version -p tor-dirmgr 0.41.0
  nailing-cargo -Eu set-version -p tor-dirserver 0.41.0
  nailing-cargo -Eu set-version -p tor-hsclient 0.41.0
  nailing-cargo -Eu set-version -p tor-hsservice 0.41.0
  nailing-cargo -Eu set-version -p tor-hsrproxy 0.41.0
</content>
</entry>
<entry>
<title>Bump versions: minor, with dependencies</title>
<updated>2026-03-30T18:59:06Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-30T18:53:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f841ba4d2b10f5502f4dfc9d0924f08548823cb1'/>
<id>urn:sha1:f841ba4d2b10f5502f4dfc9d0924f08548823cb1</id>
<content type='text'>
As per
  https://gitlab.torproject.org/tpo/core/arti/-/issues/2436#note_3384773

Made with
  cargo set-version --offline --bump minor -p retry-error
</content>
</entry>
<entry>
<title>tor-dirserver: Use tor-llcrypto for digests</title>
<updated>2026-03-09T08:31:28Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-02-25T10:41:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c3738787191c3f21b74e592ea67cce6a60f1af53'/>
<id>urn:sha1:c3738787191c3f21b74e592ea67cce6a60f1af53</id>
<content type='text'>
This commit replaces the uses of sha1, sha2, and sha3 with their
respective pedants from tor-llcrypto for better consistency.

Internally, they still use the same logic and underlying crates but
let's use this encapsulation nonetheless.
</content>
</entry>
<entry>
<title>tor-dirserver: Use getters for meta structs</title>
<updated>2026-03-09T08:04:52Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-29T11:39:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3d774fd10388626433c10cc48e3c877990b5f032'/>
<id>urn:sha1:3d774fd10388626433c10cc48e3c877990b5f032</id>
<content type='text'>
This approach is better in order to guarantee that invariants are not
violated, such that the expiry timestamp not being earlier than the
valid after one for example.
</content>
</entry>
<entry>
<title>tor-dirserver: Implement Sha1</title>
<updated>2026-03-09T08:04:52Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-29T11:20:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f5f0120a8733c9d9b1ed30150d2124ecddbf287c'/>
<id>urn:sha1:f5f0120a8733c9d9b1ed30150d2124ecddbf287c</id>
<content type='text'>
This commit implements Sha1 for the database in order to use it for the
fingerprints in authority key certificates.
</content>
</entry>
<entry>
<title>tor-dirserver: Implement Sha3_256</title>
<updated>2026-03-09T08:04:51Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-29T11:17:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=006acf152f6418f959e93d358221355fbea5b8d3'/>
<id>urn:sha1:006acf152f6418f959e93d358221355fbea5b8d3</id>
<content type='text'>
This commit implements Sha3_256 as a database type and uses it for
stroing `ConsensusMeta::unsigned_sha3_256`.
</content>
</entry>
<entry>
<title>tor-dirserver: Generic database hash implementation</title>
<updated>2026-03-09T08:04:13Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-29T11:13:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1931d86de755db388c380fe27a6e1263c6bd8274'/>
<id>urn:sha1:1931d86de755db388c380fe27a6e1263c6bd8274</id>
<content type='text'>
This commit moves the `DocumentId` implementation into a macro called
`impl_hash_wrapper` that implements a hash type in a database compatible
fashion.

In our case, we implement this for `sha2::Sha256` and then type alias
`DocumentId` to this new hash.  Yes, we originally moved away from a
type alias here, but I think this is fine because for the foreseeable
future, we will continue to use a hash here, just maybe not Sha2, but
the flexibility remains.

The motivation for this is to support other hash algorithms similarly
too.
</content>
</entry>
<entry>
<title>deps: relax `libsqlite3-sys` version requirement</title>
<updated>2026-03-04T15:05:19Z</updated>
<author>
<name>HydroxideUnlaced</name>
<email>4417-HydroxideUnlaced@gitlab.torproject.org</email>
</author>
<published>2026-02-22T14:43:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=51586f9416c73668c95c52c1f31ac1f50070c873'/>
<id>urn:sha1:51586f9416c73668c95c52c1f31ac1f50070c873</id>
<content type='text'>
The issue concerns `libsqlite3-sys` linking to a native library. Cargo
cannot handle multiple versions/crates linking to the same native
library. This affects both the `tor-dirmgr` and `tor-dirserver` crates,
which depend on `rusqlite`.

Relaxing the version requirement gives downstream projects flexibility so
cargo can select an appropriate `libsqlite3-sys` version without a high
chance of conflicts caused by pinning a specific version.

The proposed supported version range was determined by testing until
encountering a version lacking a feature currently in use (breaking
unchange?).

Regarding testing, the current CI with minimum-version test only
validates the maximum and minimum versions, so breaking changes
introduced between them can pass unnoticed. Tools like
[Cargo-Bounds](https://github.com/vivax3794/cargo_bounds) can help, but
this is out of scope for this MR. Also, supported versions of `rusqlite`
for `tor-dirmgr` and `tor-dirserver` differ, so running tests for the
whole project (same workspace) causes cargo to pick only overlapping
versions, which hides parts of each crate’s supported range.

Referencing #754, after this MR, increasing the maximum version or
decreasing the minimum version of `rusqlite` shouldn't be a breaking
change, but increasing the minimum version could be.

Resolves: #1740
</content>
</entry>
<entry>
<title>Bump strum to 0.28</title>
<updated>2026-03-04T10:46:30Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-04T10:43:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=10ea12fb4f40c76ada5b3fdd966be7396b5ccc57'/>
<id>urn:sha1:10ea12fb4f40c76ada5b3fdd966be7396b5ccc57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump all the unstable tor- and arti- crates to 0.40.0.</title>
<updated>2026-03-02T17:42:42Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-02T17:42:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=404764338e0f5df7209c89c4a48ad50e53423bd1'/>
<id>urn:sha1:404764338e0f5df7209c89c4a48ad50e53423bd1</id>
<content type='text'>
Done using:

```
for crate in $(./maint/list_crates  | rg '^(tor|arti-)'); do
    cargo set-version -p $crate 0.40.0
done
</content>
</entry>
</feed>
