aboutsummaryrefslogtreecommitdiffstats
path: root/stanza/src/xep_0060
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2025-11-24 01:23:08 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2025-11-24 01:23:08 +0100
commit7c178eb6d452c4490c0bb9cbcada5b5deb9f4f57 (patch)
tree8dade94b849439dbf20fe29f62bca032975cda97 /stanza/src/xep_0060
parenta56c8d3562d50941126cb010459accd780198046 (diff)
downloadluz-7c178eb6d452c4490c0bb9cbcada5b5deb9f4f57.tar.gz
luz-7c178eb6d452c4490c0bb9cbcada5b5deb9f4f57.tar.bz2
luz-7c178eb6d452c4490c0bb9cbcada5b5deb9f4f57.zip
feat: add licensing and related annotations/file headersHEADmain
Diffstat (limited to 'stanza/src/xep_0060')
-rw-r--r--stanza/src/xep_0060/errors.rs4
-rw-r--r--stanza/src/xep_0060/event.rs4
-rw-r--r--stanza/src/xep_0060/mod.rs4
-rw-r--r--stanza/src/xep_0060/owner.rs4
-rw-r--r--stanza/src/xep_0060/pubsub.rs4
5 files changed, 20 insertions, 0 deletions
diff --git a/stanza/src/xep_0060/errors.rs b/stanza/src/xep_0060/errors.rs
index 6c6c530..a52ea85 100644
--- a/stanza/src/xep_0060/errors.rs
+++ b/stanza/src/xep_0060/errors.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2025 cel <cel@bunny.garden>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
use std::{fmt::Display, str::FromStr};
use peanuts::{DeserializeError, Element, FromElement, IntoElement};
diff --git a/stanza/src/xep_0060/event.rs b/stanza/src/xep_0060/event.rs
index 3cb124b..f3cae8b 100644
--- a/stanza/src/xep_0060/event.rs
+++ b/stanza/src/xep_0060/event.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2025 cel <cel@bunny.garden>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
use std::str::FromStr;
use chrono::{DateTime, Utc};
diff --git a/stanza/src/xep_0060/mod.rs b/stanza/src/xep_0060/mod.rs
index 566310f..ac8a849 100644
--- a/stanza/src/xep_0060/mod.rs
+++ b/stanza/src/xep_0060/mod.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2025 cel <cel@bunny.garden>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
pub mod errors;
pub mod event;
pub mod owner;
diff --git a/stanza/src/xep_0060/owner.rs b/stanza/src/xep_0060/owner.rs
index 4876bf5..3b6c6f6 100644
--- a/stanza/src/xep_0060/owner.rs
+++ b/stanza/src/xep_0060/owner.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2025 cel <cel@bunny.garden>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
use std::str::FromStr;
use jid::{BareJID, JID};
diff --git a/stanza/src/xep_0060/pubsub.rs b/stanza/src/xep_0060/pubsub.rs
index 0416b78..94277b9 100644
--- a/stanza/src/xep_0060/pubsub.rs
+++ b/stanza/src/xep_0060/pubsub.rs
@@ -1,3 +1,7 @@
+// SPDX-FileCopyrightText: 2025 cel <cel@bunny.garden>
+//
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
use std::str::FromStr;
use jid::JID;