<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-persist/src/slug.rs, branch arti-v1.2.5</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-03-13T16:30:53Z</updated>
<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>
<entry>
<title>tor-persist: Make all Slugs non-empty.</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-30T19:08:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e01ba7dc06dc4300dbc91537d3b6579c5d31de63'/>
<id>urn:sha1:e01ba7dc06dc4300dbc91537d3b6579c5d31de63</id>
<content type='text'>
This also removes a TODO regarding adding a `Nickname` type for
representing `HsClientSpecifier` and `HsNickname` (we don't need it if
`Slug`s are non-empty).

Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1931#note_2990227
</content>
</entry>
<entry>
<title>tor-persist: Forbid slugs from starting with a hyphen.</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-30T17:47:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f3c27370db1ae5aed8b8a1b36879c50d1db48530'/>
<id>urn:sha1:f3c27370db1ae5aed8b8a1b36879c50d1db48530</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor_persist::slug: Allow hyphens in Slugs.</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-25T17:28:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=96228cf604f8821b3ff03469e57603c7fe776946'/>
<id>urn:sha1:96228cf604f8821b3ff03469e57603c7fe776946</id>
<content type='text'>
The internal representation of `HsNickname` will soon be `Slug`,
and nicknames can contain hyphens, so let's add `-` to the allowed
charset.

Part of #1092
</content>
</entry>
<entry>
<title>slug: Provide BadSlug::EmptySlugNotAllowed</title>
<updated>2024-01-29T11:54:58Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-29T11:23:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=55fc5590ecada2adb82e0cc80e106779d1dce185'/>
<id>urn:sha1:55fc5590ecada2adb82e0cc80e106779d1dce185</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'slug2' into 'main'</title>
<updated>2024-01-25T20:44:07Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2024-01-25T20:44:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=035cd0ecf6806cc124b2fd0dcc4e723a9a5ad923'/>
<id>urn:sha1:035cd0ecf6806cc124b2fd0dcc4e723a9a5ad923</id>
<content type='text'>
TryIntoSlug

See merge request tpo/core/arti!1922</content>
</entry>
<entry>
<title>Merge branch 'slug4' into 'main'</title>
<updated>2024-01-25T20:02:14Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-25T20:02:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=33f2e39baa5dae831e380ca82906751afe1e63f2'/>
<id>urn:sha1:33f2e39baa5dae831e380ca82906751afe1e63f2</id>
<content type='text'>
slug: Implement the AsRefs for Slug as well as for SlugRef

See merge request tpo/core/arti!1929</content>
</entry>
</feed>
