| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
The `slug` docs say slugs are not allowed to contain uppercase
characters, so let's return an error if they do.
Part of #1195
|
| | |
|
| |
|
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
|
|
|
|
| |
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
|
| | |
|
| |\
| |
| |
| |
| | |
TryIntoSlug
See merge request tpo/core/arti!1922
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | | |
slug: Implement the AsRefs for Slug as well as for SlugRef
See merge request tpo/core/arti!1929
|
| | |/
| |
| |
| |
| | |
Otherwise you can't use &Slug where someone wants &impl AsRef<Path>,
which is rather sad.
|
| |/ |
|
| |
|
|
|
|
|
|
|
| |
Abolish it, sprinkling cfg all over, rather than having it be
uninhabited.
See
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1912#note_2988746
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1912#note_2988748
|
|
|
I need this for state_dir (#1163, !1853).
I intend that this should be used for arti paths (#1092, #1193).
See also #1195.
Implements the spec in #1192 but doesn't connect it to anything yet.
|