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 --- lampada/src/connection/mod.rs | 4 ++++ lampada/src/connection/read.rs | 4 ++++ lampada/src/connection/write.rs | 4 ++++ lampada/src/error.rs | 4 ++++ lampada/src/lib.rs | 4 ++++ 5 files changed, 20 insertions(+) (limited to 'lampada/src') diff --git a/lampada/src/connection/mod.rs b/lampada/src/connection/mod.rs index 51c3758..485b93d 100644 --- a/lampada/src/connection/mod.rs +++ b/lampada/src/connection/mod.rs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2025 cel +// +// SPDX-License-Identifier: AGPL-3.0-or-later + // TODO: consider if this needs to be handled by a supervisor or could be handled by luz directly use std::{ diff --git a/lampada/src/connection/read.rs b/lampada/src/connection/read.rs index 591a2cb..ebcf66a 100644 --- a/lampada/src/connection/read.rs +++ b/lampada/src/connection/read.rs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2025 cel +// +// SPDX-License-Identifier: AGPL-3.0-or-later + use std::{ collections::HashMap, marker::PhantomData, diff --git a/lampada/src/connection/write.rs b/lampada/src/connection/write.rs index b982eea..a047674 100644 --- a/lampada/src/connection/write.rs +++ b/lampada/src/connection/write.rs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2025 cel +// +// SPDX-License-Identifier: AGPL-3.0-or-later + use std::ops::{Deref, DerefMut}; use luz::jabber_stream::bound_stream::BoundJabberWriter; diff --git a/lampada/src/error.rs b/lampada/src/error.rs index a5af3a2..9ca5f12 100644 --- a/lampada/src/error.rs +++ b/lampada/src/error.rs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2025 cel +// +// SPDX-License-Identifier: AGPL-3.0-or-later + use std::sync::Arc; use stanza::client::Stanza; diff --git a/lampada/src/lib.rs b/lampada/src/lib.rs index d1d451e..2b71a9d 100644 --- a/lampada/src/lib.rs +++ b/lampada/src/lib.rs @@ -1,5 +1,9 @@ #![feature(where_clause_attrs)] +// SPDX-FileCopyrightText: 2025 cel +// +// SPDX-License-Identifier: AGPL-3.0-or-later + use std::{ collections::HashMap, ops::{Deref, DerefMut}, -- cgit