<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-persist/src/slug.rs, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-07-10T14:50:50Z</updated>
<entry>
<title>tor-persist: Fix clippy warning</title>
<updated>2026-07-10T14:50:50Z</updated>
<author>
<name>hjrgrn</name>
<email>3874-hjrgrn@gitlab.torproject.org</email>
</author>
<published>2026-07-10T14:15:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f01b299bf1f09e5b6d837e43175788376af1534f'/>
<id>urn:sha1:f01b299bf1f09e5b6d837e43175788376af1534f</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>Remove unnecessary `doc(cfg(...))` attributes</title>
<updated>2025-12-05T02:40:50Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2025-11-01T23:25:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=26b40cb08b6b715ee80e2b9084810e07512a85c6'/>
<id>urn:sha1:26b40cb08b6b715ee80e2b9084810e07512a85c6</id>
<content type='text'>
Fixes part of #2193.

(Edits from nickm: I selected the cases here that I could verify
were correct from immediate context.)

Edited-by: Nick Mathewson &lt;nickm@torproject.org&gt;
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>tor-persist: Add a slug timestamp type.</title>
<updated>2024-10-31T14:34:01Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-10-23T11:43:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=38d1e334007143bba5ec4b483f9e04b1f3ea23a1'/>
<id>urn:sha1:38d1e334007143bba5ec4b483f9e04b1f3ea23a1</id>
<content type='text'>
The new `Iso8601TimeSlug` is useful for encoding a timestamp as a `Slug`
(i.e. in a filename).

This is needed, for example, for #1692, to encode a timestamp as key
denotator.
</content>
</entry>
<entry>
<title>tor-persist: Explain why colons will never be valid slug chars.</title>
<updated>2024-10-23T11:18:28Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-10-23T11:17:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7e8bcf3f5c6ff045cc93efe06dd6ead1e1211f9b'/>
<id>urn:sha1:7e8bcf3f5c6ff045cc93efe06dd6ead1e1211f9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-persist: Reduce nesting in check_syntax().</title>
<updated>2024-01-31T11:36:05Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2024-01-30T18:49:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=74cb7d4268567cb20362474a73ccd8169dbe4d57'/>
<id>urn:sha1:74cb7d4268567cb20362474a73ccd8169dbe4d57</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-persist: Reject slugs that contain uppercase characters.</title>
<updated>2024-01-31T11:15:53Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-29T11:16:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9a7ed775f6e87559be2e5c9353cbb3bbefbef4e9'/>
<id>urn:sha1:9a7ed775f6e87559be2e5c9353cbb3bbefbef4e9</id>
<content type='text'>
The `slug` docs say slugs are not allowed to contain uppercase
characters, so let's return an error if they do.

Part of #1195
</content>
</entry>
<entry>
<title>tor-persist: Document that slugs cannot start with '-'.</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-31T10:38:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=74457738b4562baa7849247aa436aad65bc50a36'/>
<id>urn:sha1:74457738b4562baa7849247aa436aad65bc50a36</id>
<content type='text'>
</content>
</entry>
</feed>
