aboutsummaryrefslogtreecommitdiff
path: root/rossweisse
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-20 14:23:16 +0000
committerFuwn <[email protected]>2026-02-20 14:23:16 +0000
commit125e37558b02bb33892608ee1bd6fb1088c1cb23 (patch)
tree2527eac50dc58ef831adaf76d4197b27f7215c32 /rossweisse
parentchore: Bump version patch to v0.4.2 (diff)
downloadwindmark-main.tar.xz
windmark-main.zip
chore(license): Relicense under MIT OR Apache-2.0HEADmain
Diffstat (limited to 'rossweisse')
-rw-r--r--rossweisse/README.md8
-rw-r--r--rossweisse/src/implementations.rs17
-rw-r--r--rossweisse/src/implementations/route.rs17
-rw-r--r--rossweisse/src/implementations/router.rs17
-rw-r--r--rossweisse/src/implementations/router/fields.rs17
-rw-r--r--rossweisse/src/implementations/router/methods.rs17
-rw-r--r--rossweisse/src/implementations/router/parser.rs17
-rw-r--r--rossweisse/src/implementations/router/parser/field_initializer.rs17
-rw-r--r--rossweisse/src/implementations/router/parser/field_initializers.rs17
-rw-r--r--rossweisse/src/lib.rs17
10 files changed, 6 insertions, 155 deletions
diff --git a/rossweisse/README.md b/rossweisse/README.md
index e238eea..ef35bb5 100644
--- a/rossweisse/README.md
+++ b/rossweisse/README.md
@@ -42,5 +42,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
## License
-This project is licensed with the
-[GNU General Public License v3.0](https://github.com/gemrest/windmark/blob/main/LICENSE).
+Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
+[MIT license](LICENSE-MIT) at your option.
+
+Unless you explicitly state otherwise, any contribution intentionally submitted
+for inclusion in this crate by you, as defined in the Apache-2.0 license, shall
+be dual licensed as above, without any additional terms or conditions.
diff --git a/rossweisse/src/implementations.rs b/rossweisse/src/implementations.rs
index cdf6f7f..e19f6cd 100644
--- a/rossweisse/src/implementations.rs
+++ b/rossweisse/src/implementations.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
mod route;
mod router;
diff --git a/rossweisse/src/implementations/route.rs b/rossweisse/src/implementations/route.rs
index cc7c4cd..d38df93 100644
--- a/rossweisse/src/implementations/route.rs
+++ b/rossweisse/src/implementations/route.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use proc_macro::TokenStream;
pub fn route(_arguments: TokenStream, item: &syn::ItemFn) -> TokenStream {
diff --git a/rossweisse/src/implementations/router.rs b/rossweisse/src/implementations/router.rs
index 184e7a0..f7b6094 100644
--- a/rossweisse/src/implementations/router.rs
+++ b/rossweisse/src/implementations/router.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
mod fields;
mod methods;
mod parser;
diff --git a/rossweisse/src/implementations/router/fields.rs b/rossweisse/src/implementations/router/fields.rs
index b3121e9..c1b36e3 100644
--- a/rossweisse/src/implementations/router/fields.rs
+++ b/rossweisse/src/implementations/router/fields.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use proc_macro::TokenStream;
use quote::quote;
use syn::punctuated::Punctuated;
diff --git a/rossweisse/src/implementations/router/methods.rs b/rossweisse/src/implementations/router/methods.rs
index 18f639b..6e10f23 100644
--- a/rossweisse/src/implementations/router/methods.rs
+++ b/rossweisse/src/implementations/router/methods.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use proc_macro::TokenStream;
pub fn methods(
diff --git a/rossweisse/src/implementations/router/parser.rs b/rossweisse/src/implementations/router/parser.rs
index 1ef66fa..230b1d6 100644
--- a/rossweisse/src/implementations/router/parser.rs
+++ b/rossweisse/src/implementations/router/parser.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
mod field_initializer;
mod field_initializers;
diff --git a/rossweisse/src/implementations/router/parser/field_initializer.rs b/rossweisse/src/implementations/router/parser/field_initializer.rs
index 0c92a30..fe51ce1 100644
--- a/rossweisse/src/implementations/router/parser/field_initializer.rs
+++ b/rossweisse/src/implementations/router/parser/field_initializer.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use syn::parse::{self, Parse};
pub struct FieldInitializer<T: Parse> {
diff --git a/rossweisse/src/implementations/router/parser/field_initializers.rs b/rossweisse/src/implementations/router/parser/field_initializers.rs
index 00abf56..81d171a 100644
--- a/rossweisse/src/implementations/router/parser/field_initializers.rs
+++ b/rossweisse/src/implementations/router/parser/field_initializers.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
use syn::parse::{self, Parse};
use super::field_initializer::FieldInitializer;
diff --git a/rossweisse/src/lib.rs b/rossweisse/src/lib.rs
index 815f36d..2c38fe2 100644
--- a/rossweisse/src/lib.rs
+++ b/rossweisse/src/lib.rs
@@ -1,20 +1,3 @@
-// This file is part of Windmark <https://github.com/gemrest/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 <http://www.gnu.org/licenses/>.
-//
-// Copyright (C) 2022-2023 Fuwn <[email protected]>
-// SPDX-License-Identifier: GPL-3.0-only
-
#![deny(
clippy::all,
clippy::nursery,