From 94ecd2bba5fb5207d7ea241a8b5762bc2e1376f9 Mon Sep 17 00:00:00 2001 From: alyx Date: Tue, 2 Apr 2024 12:11:37 -0400 Subject: Add SPDX info to all files --- src/cache.rs | 1 + src/cache/font.rs | 1 + src/cache/user.rs | 1 + src/config.rs | 1 + src/ctx.rs | 1 + src/deserialize.rs | 1 + src/http.rs | 1 + src/lib.rs | 1 + src/main.rs | 1 + src/theming.rs | 1 + src/theming/hbs.rs | 1 + 11 files changed, 11 insertions(+) diff --git a/src/cache.rs b/src/cache.rs index aa06835..4ef77dc 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only pub mod font; pub mod user; diff --git a/src/cache/font.rs b/src/cache/font.rs index c17247d..5be2196 100644 --- a/src/cache/font.rs +++ b/src/cache/font.rs @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only use std::sync::Arc; use std::time::Duration; use std::sync::LazyLock; diff --git a/src/cache/user.rs b/src/cache/user.rs index c3b6f04..f12d852 100644 --- a/src/cache/user.rs +++ b/src/cache/user.rs @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only use std::sync::Arc; use std::time::Duration; use std::sync::LazyLock; diff --git a/src/config.rs b/src/config.rs index d3e2b8a..bc24b83 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only use std::collections::BTreeSet; use std::sync::LazyLock; use std::sync::Arc; diff --git a/src/ctx.rs b/src/ctx.rs index cfb10e3..79bf985 100644 --- a/src/ctx.rs +++ b/src/ctx.rs @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only use std::sync::Arc; use std::collections::BTreeMap; diff --git a/src/deserialize.rs b/src/deserialize.rs index 4a95b70..b1c4da8 100644 --- a/src/deserialize.rs +++ b/src/deserialize.rs @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only use std::collections::HashMap; use std::sync::Arc; diff --git a/src/http.rs b/src/http.rs index e3f29e6..c426231 100644 --- a/src/http.rs +++ b/src/http.rs @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only use std::sync::LazyLock; use reqwest::Client; diff --git a/src/lib.rs b/src/lib.rs index 35f862d..b6467f8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #![feature(lazy_cell)] mod http; diff --git a/src/main.rs b/src/main.rs index dd31e58..6669791 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only #![feature(lazy_cell)] use std::collections::BTreeMap; diff --git a/src/theming.rs b/src/theming.rs index 62e32b4..c43411c 100644 --- a/src/theming.rs +++ b/src/theming.rs @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only mod hbs; use reqwest::StatusCode; diff --git a/src/theming/hbs.rs b/src/theming/hbs.rs index 73c72ae..6da8385 100644 --- a/src/theming/hbs.rs +++ b/src/theming/hbs.rs @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: AGPL-3.0-only use std::sync::LazyLock; use handlebars::*; -- cgit v1.2.3-54-g00ecf