From 7c178eb6d452c4490c0bb9cbcada5b5deb9f4f57 Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Mon, 24 Nov 2025 01:23:08 +0100 Subject: feat: add licensing and related annotations/file headers --- stanza/src/xep_0060/errors.rs | 4 ++++ stanza/src/xep_0060/event.rs | 4 ++++ stanza/src/xep_0060/mod.rs | 4 ++++ stanza/src/xep_0060/owner.rs | 4 ++++ stanza/src/xep_0060/pubsub.rs | 4 ++++ 5 files changed, 20 insertions(+) (limited to 'stanza/src/xep_0060') 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 +// +// 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 +// +// 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 +// +// 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 +// +// 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 +// +// SPDX-License-Identifier: AGPL-3.0-or-later + use std::str::FromStr; use jid::JID; -- cgit