From 125e37558b02bb33892608ee1bd6fb1088c1cb23 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 20 Feb 2026 14:23:16 +0000 Subject: chore(license): Relicense under MIT OR Apache-2.0 --- src/handler/hooks.rs | 17 ----------------- src/handler/hooks/post_route.rs | 17 ----------------- src/handler/hooks/pre_route.rs | 17 ----------------- src/handler/partial.rs | 17 ----------------- src/handler/response.rs | 17 ----------------- src/handler/response/error.rs | 17 ----------------- src/handler/response/route.rs | 17 ----------------- 7 files changed, 119 deletions(-) (limited to 'src/handler') diff --git a/src/handler/hooks.rs b/src/handler/hooks.rs index 34ea42e..c107f0d 100644 --- a/src/handler/hooks.rs +++ b/src/handler/hooks.rs @@ -1,20 +1,3 @@ -// This file is part of Windmark . -// -// 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 . -// -// Copyright (C) 2022-2023 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - mod post_route; mod pre_route; diff --git a/src/handler/hooks/post_route.rs b/src/handler/hooks/post_route.rs index b8acd35..6bc24b2 100644 --- a/src/handler/hooks/post_route.rs +++ b/src/handler/hooks/post_route.rs @@ -1,20 +1,3 @@ -// This file is part of Windmark . -// -// 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 . -// -// Copyright (C) 2022-2023 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use crate::{context::HookContext, response::Response}; #[allow(clippy::module_name_repetitions)] diff --git a/src/handler/hooks/pre_route.rs b/src/handler/hooks/pre_route.rs index 4221f14..9b1eb7f 100644 --- a/src/handler/hooks/pre_route.rs +++ b/src/handler/hooks/pre_route.rs @@ -1,20 +1,3 @@ -// This file is part of Windmark . -// -// 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 . -// -// Copyright (C) 2022-2023 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use crate::context::HookContext; #[allow(clippy::module_name_repetitions)] diff --git a/src/handler/partial.rs b/src/handler/partial.rs index 913fa07..b8f4057 100644 --- a/src/handler/partial.rs +++ b/src/handler/partial.rs @@ -1,20 +1,3 @@ -// This file is part of Windmark . -// -// 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 . -// -// Copyright (C) 2022-2023 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use crate::context::RouteContext; #[allow(clippy::module_name_repetitions)] diff --git a/src/handler/response.rs b/src/handler/response.rs index b1ccae7..c753943 100644 --- a/src/handler/response.rs +++ b/src/handler/response.rs @@ -1,20 +1,3 @@ -// This file is part of Windmark . -// -// 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 . -// -// Copyright (C) 2022-2023 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - #![allow(clippy::module_name_repetitions)] mod error; diff --git a/src/handler/response/error.rs b/src/handler/response/error.rs index a8c2745..6d6df34 100644 --- a/src/handler/response/error.rs +++ b/src/handler/response/error.rs @@ -1,20 +1,3 @@ -// This file is part of Windmark . -// -// 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 . -// -// Copyright (C) 2022-2023 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use async_trait::async_trait; use crate::{context::ErrorContext, response::Response}; diff --git a/src/handler/response/route.rs b/src/handler/response/route.rs index 0c0d0e9..d6977a9 100644 --- a/src/handler/response/route.rs +++ b/src/handler/response/route.rs @@ -1,20 +1,3 @@ -// This file is part of Windmark . -// -// 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 . -// -// Copyright (C) 2022-2023 Fuwn -// SPDX-License-Identifier: GPL-3.0-only - use async_trait::async_trait; use crate::{context::RouteContext, response::Response}; -- cgit v1.2.3