aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-03-07 21:39:02 -0800
committerFuwn <[email protected]>2022-03-07 21:39:02 -0800
commit586c755d1613c8eabfe2a881613767b3a7908ebe (patch)
treec96a6fe5b7344eea11055c96bc3a0803d4442546 /src
parentchore(nix): remove (diff)
downloadapi-worker-586c755d1613c8eabfe2a881613767b3a7908ebe.tar.xz
api-worker-586c755d1613c8eabfe2a881613767b3a7908ebe.zip
chore: licensing
Diffstat (limited to 'src')
-rw-r--r--src/constants.rs17
-rw-r--r--src/main.rs17
-rw-r--r--src/routes.rs17
-rw-r--r--src/structures.rs17
-rw-r--r--src/utils.rs17
5 files changed, 80 insertions, 5 deletions
diff --git a/src/constants.rs b/src/constants.rs
index 8fd2f3b..003fdf1 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -1,4 +1,19 @@
-// Copyright (C) 2021-2021 the senpy club
+// This file is part of api-worker <https://github.com/senpy-club/api-worker>.
+// Copyright (C) 2022-2022 Fuwn <[email protected]>
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 3.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+// Copyright (C) 2022-2022 Fuwn <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only
pub const GITHUB_USER_CONTENT: &str =
diff --git a/src/main.rs b/src/main.rs
index d0daf04..53481e0 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,4 +1,19 @@
-// Copyright (C) 2021-2021 the senpy club
+// This file is part of api-worker <https://github.com/senpy-club/api-worker>.
+// Copyright (C) 2022-2022 Fuwn <[email protected]>
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 3.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+// Copyright (C) 2022-2022 Fuwn <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only
#![feature(type_ascription)]
diff --git a/src/routes.rs b/src/routes.rs
index 2d67234..d34489d 100644
--- a/src/routes.rs
+++ b/src/routes.rs
@@ -1,4 +1,19 @@
-// Copyright (C) 2021-2021 the senpy club
+// This file is part of api-worker <https://github.com/senpy-club/api-worker>.
+// Copyright (C) 2022-2022 Fuwn <[email protected]>
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 3.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+// Copyright (C) 2022-2022 Fuwn <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only
use actix_web::{HttpRequest, HttpResponse};
diff --git a/src/structures.rs b/src/structures.rs
index 7aa684c..4ed5f47 100644
--- a/src/structures.rs
+++ b/src/structures.rs
@@ -1,4 +1,19 @@
-// Copyright (C) 2021-2021 the senpy club
+// This file is part of api-worker <https://github.com/senpy-club/api-worker>.
+// Copyright (C) 2022-2022 Fuwn <[email protected]>
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 3.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+// Copyright (C) 2022-2022 Fuwn <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only
#![allow(clippy::used_underscore_binding)]
diff --git a/src/utils.rs b/src/utils.rs
index 09c8d49..85ce4ca 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -1,4 +1,19 @@
-// Copyright (C) 2021-2021 the senpy club
+// This file is part of api-worker <https://github.com/senpy-club/api-worker>.
+// Copyright (C) 2022-2022 Fuwn <[email protected]>
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 3.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+// Copyright (C) 2022-2022 Fuwn <[email protected]>
// SPDX-License-Identifier: GPL-3.0-only
use crate::{