aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/src/lib.rs b/common/src/lib.rs
index 5641386..9949bcc 100644
--- a/common/src/lib.rs
+++ b/common/src/lib.rs
@@ -5,7 +5,7 @@
*/
#![feature(array_try_map)]
pub mod routes;
-use jellyobject::{Object, Registry, Tag, enums, fields};
+use jellyobject::{Object, Registry, Tag, TypedTag, enums, fields};
pub use jellystream_types as stream;
use std::sync::LazyLock;
@@ -142,3 +142,5 @@ enums! {
CRCAT_PRODUCER = 0x2012 "producer";
CRCAT_ENGINEER = 0x2013 "engineer";
}
+
+pub struct Identifier(pub TypedTag<&'static str>, pub String);