mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-07-11 08:35:34 +00:00
refactor(types,register): introduce IdUrl
and related types into submod
- `IdUrl` does basic validation for identity URL. Server could enforce additional restrictions on their own need. - single-label doamins are now rejected by default. - More tests are added for `IdUrl` validation.
This commit is contained in:
parent
25936cc4f7
commit
fac380fe55
7 changed files with 262 additions and 81 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -282,6 +282,7 @@ dependencies = [
|
|||
"serde_jcs",
|
||||
"serde_json",
|
||||
"serde_with",
|
||||
"thiserror",
|
||||
"url",
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue