<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-memquota/src, branch arti-v2.5.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.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-09T15:36:01Z</updated>
<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>config: Add a method to fill in a builder with unset defaults</title>
<updated>2026-05-27T12:05:52Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-05-18T14:13:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f1df3d1c8d83fd63d484cccf0bf45534f0369761'/>
<id>urn:sha1:f1df3d1c8d83fd63d484cccf0bf45534f0369761</id>
<content type='text'>
This new method modifies a builder by replacing any unset values
that have a default with that default.  We're using this method
so that we can re-serialize a builder into a `ConfigurationTree`
with all of its default values included.

In all cases, `b.apply_defaults()?; b.build()` should produce
the same output as `b.build()`.

The interesting parts of this commit are in tor_config::load
and tor_config::derive.  The rest of this commit just adds
`apply_defaults` to other builders that _aren't_ made with
`derive_deftly(TorConfig)`.
</content>
</entry>
<entry>
<title>Upgrade rand crates to 0.10.</title>
<updated>2026-05-12T20:55:43Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-05-07T20:06:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a18167928901d8c88cd1cdd87346de8ad1ee42a2'/>
<id>urn:sha1:a18167928901d8c88cd1cdd87346de8ad1ee42a2</id>
<content type='text'>
When the circ-padding feature is enabled, we use maybenot, which does
not yet support rand 0.10. In the meantime, enabling this feature pulls
in rand 0.9. This is not ideal, but should be okay as a temporary
situation.

This also replaces the use of ReseedingRng (which was removed in 0.10)
with the reseeding_rng crate. This is somewhat less performant, but it
should be okay.
</content>
</entry>
<entry>
<title>memquota: Say what kind of errors add_parent() returns</title>
<updated>2026-04-07T16:51:54Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-07T16:51:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0296cf566d81f1eac46b87034d994cb731b55d8e'/>
<id>urn:sha1:0296cf566d81f1eac46b87034d994cb731b55d8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>memquota: Add dedicated variant for duplicate child error</title>
<updated>2026-04-07T10:25:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-07T10:23:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=44f3adb789579cf12c800cfb91fe33776b08aa24'/>
<id>urn:sha1:44f3adb789579cf12c800cfb91fe33776b08aa24</id>
<content type='text'>
</content>
</entry>
<entry>
<title>memquota: Expand on the prepare_parent_aid() docs</title>
<updated>2026-04-07T10:01:41Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-07T10:01:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=db4614ccdb48c84d5ac60d846b81049ec8fa2cf5'/>
<id>urn:sha1:db4614ccdb48c84d5ac60d846b81049ec8fa2cf5</id>
<content type='text'>
Applies the suggestion from
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3829#note_3388033
</content>
</entry>
<entry>
<title>memquota: Adjust Account::add_parent() docs</title>
<updated>2026-04-07T10:00:00Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-04-07T10:00:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0d817aa5ef31cd383aeb79c6674d4d453cd4682'/>
<id>urn:sha1:f0d817aa5ef31cd383aeb79c6674d4d453cd4682</id>
<content type='text'>
As suggested by @Diziet
</content>
</entry>
<entry>
<title>memquota: Make prepare_parent_aid() error message more generic</title>
<updated>2026-03-30T16:22:50Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-30T14:57:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e0e36190cb832e435788292b03d64b102e8a772e'/>
<id>urn:sha1:e0e36190cb832e435788292b03d64b102e8a772e</id>
<content type='text'>
This is now used by `Account::add_parent()` too.
</content>
</entry>
<entry>
<title>memquota: Add new Account::add_parent() API</title>
<updated>2026-03-30T16:22:50Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-27T10:44:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=70c4f0878108121c1cef17a493fff148384a7ac7'/>
<id>urn:sha1:70c4f0878108121c1cef17a493fff148384a7ac7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>memquota: Move parent AId checks to separate function (fmt)</title>
<updated>2026-03-30T16:16:26Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-03-27T10:51:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e074d5e62eca7cadfeeffb4958b76d58e19f4f14'/>
<id>urn:sha1:e074d5e62eca7cadfeeffb4958b76d58e19f4f14</id>
<content type='text'>
</content>
</entry>
</feed>
