feat: fmt all

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-09-24 22:10:49 +02:00
parent ca7c0c5c09
commit 595e82c064
4 changed files with 762 additions and 571 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -16,8 +16,6 @@ pub struct Metadata {
}
pub fn wrap<'a>(domain: &'a str, entity: &'a str, content: &'a [u8]) -> Vec<u8> {
serde_json::to_vec(&Envelope {
content: general_purpose::URL_SAFE_NO_PAD.encode(content),
metadata: Metadata {