diff options
Diffstat (limited to 'common/src')
-rw-r--r-- | common/src/lib.rs | 2 | ||||
-rw-r--r-- | common/src/stream.rs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs index ce333eb..7685027 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -50,6 +50,8 @@ pub struct Node { pub ratings: BTreeMap<Rating, f64>, pub federated: Option<String>, #[serde(default)] + pub tags: BTreeSet<String>, + #[serde(default)] pub people: BTreeMap<PeopleGroup, Vec<Appearance>>, #[serde(default)] pub external_ids: BTreeMap<String, String>, diff --git a/common/src/stream.rs b/common/src/stream.rs index 3e227e1..1c285b3 100644 --- a/common/src/stream.rs +++ b/common/src/stream.rs @@ -1,9 +1,9 @@ -use bincode::{Decode, Encode}; /* This file is part of jellything (https://codeberg.org/metamuffin/jellything) which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2025 metamuffin <metamuffin.org> */ +use bincode::{Decode, Encode}; #[cfg(feature = "rocket")] use rocket::{FromForm, FromFormField, UriDisplayQuery}; use serde::{Deserialize, Serialize}; |