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/context.rs | 17 ----------------- src/context/error.rs | 17 ----------------- src/context/hook.rs | 17 ----------------- src/context/route.rs | 17 ----------------- src/handler.rs | 17 ----------------- 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 ----------------- src/lib.rs | 17 ----------------- src/module.rs | 17 ----------------- src/module/asynchronous.rs | 17 ----------------- src/module/sync.rs | 17 ----------------- src/prelude.rs | 17 ----------------- src/response.rs | 17 ----------------- src/response/macros.rs | 17 ----------------- src/router.rs | 17 ----------------- src/utilities.rs | 17 ----------------- 21 files changed, 357 deletions(-) (limited to 'src') diff --git a/src/context.rs b/src/context.rs index 4f97393..b4b75a8 100644 --- a/src/context.rs +++ b/src/context.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/context/error.rs b/src/context/error.rs index 789fb63..ef7ce75 100644 --- a/src/context/error.rs +++ b/src/context/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 openssl::x509::X509; use url::Url; diff --git a/src/context/hook.rs b/src/context/hook.rs index d033234..25383f1 100644 --- a/src/context/hook.rs +++ b/src/context/hook.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 std::collections::HashMap; use matchit::Params; diff --git a/src/context/route.rs b/src/context/route.rs index e5a401d..bcc5f2a 100644 --- a/src/context/route.rs +++ b/src/context/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 std::collections::HashMap; use matchit::Params; diff --git a/src/handler.rs b/src/handler.rs index 2678c81..4f0cd60 100644 --- a/src/handler.rs +++ b/src/handler.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 hooks; mod partial; mod response; 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}; diff --git a/src/lib.rs b/src/lib.rs index 66232c8..3464c50 100644 --- a/src/lib.rs +++ b/src/lib.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 - #![deny( clippy::all, clippy::nursery, diff --git a/src/module.rs b/src/module.rs index 0f8aee9..abb7c87 100644 --- a/src/module.rs +++ b/src/module.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 asynchronous; mod sync; diff --git a/src/module/asynchronous.rs b/src/module/asynchronous.rs index 219f6c2..8822ea4 100644 --- a/src/module/asynchronous.rs +++ b/src/module/asynchronous.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; #[async_trait::async_trait] diff --git a/src/module/sync.rs b/src/module/sync.rs index 1e1c565..a38b541 100644 --- a/src/module/sync.rs +++ b/src/module/sync.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; pub trait Module { diff --git a/src/prelude.rs b/src/prelude.rs index 8a08b48..5953f69 100644 --- a/src/prelude.rs +++ b/src/prelude.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 - pub use crate::{ context, module::{AsyncModule, Module}, diff --git a/src/response.rs b/src/response.rs index 9aee2d3..143ebdc 100644 --- a/src/response.rs +++ b/src/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 - //! Content and response handlers #[cfg(feature = "response-macros")] diff --git a/src/response/macros.rs b/src/response/macros.rs index 976973b..807db26 100644 --- a/src/response/macros.rs +++ b/src/response/macros.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 - macro_rules! sync_response { ($($name:ident),*) => { $( diff --git a/src/router.rs b/src/router.rs index b0e9d84..cbe5740 100644 --- a/src/router.rs +++ b/src/router.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::significant_drop_tightening)] use std::{ diff --git a/src/utilities.rs b/src/utilities.rs index 1eb4831..995cfcd 100644 --- a/src/utilities.rs +++ b/src/utilities.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 - //! Utilities to make cumbersome tasks simpler use std::collections::HashMap; -- cgit v1.2.3