diff options
| author | Fuwn <[email protected]> | 2024-06-19 07:53:39 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-19 07:53:39 +0000 |
| commit | 8fcc115fe22bbef326f7bdca7d29026e97a896b1 (patch) | |
| tree | 4cc22aaafed1ace69030f2d155316c1165ffd14a | |
| parent | chore: clean-up outdated example .env file (diff) | |
| download | september-8fcc115fe22bbef326f7bdca7d29026e97a896b1.tar.xz september-8fcc115fe22bbef326f7bdca7d29026e97a896b1.zip | |
refactor: remove long file headers
There's a LICENSE file anyway.
| -rw-r--r-- | build.rs | 18 | ||||
| -rw-r--r-- | src/html.rs | 17 | ||||
| -rw-r--r-- | src/main.rs | 17 | ||||
| -rw-r--r-- | src/response.rs | 17 | ||||
| -rw-r--r-- | src/url.rs | 17 |
5 files changed, 0 insertions, 86 deletions
@@ -1,21 +1,3 @@ -// This file is part of September <https://github.com/gemrest/september>. -// 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 - fn main() -> Result<(), Box<dyn std::error::Error>> { vergen::EmitBuilder::builder().git_sha(true).emit()?; diff --git a/src/html.rs b/src/html.rs index ae7dc41..2574d8b 100644 --- a/src/html.rs +++ b/src/html.rs @@ -1,20 +1,3 @@ -// This file is part of September <https://github.com/gemrest/september>. -// -// 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 {germ::ast::Node, std::env::var, url::Url}; fn link_from_host_href(url: &Url, href: &str) -> Option<String> { diff --git a/src/main.rs b/src/main.rs index c56c9e0..fd24088 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,20 +1,3 @@ -// This file is part of September <https://github.com/gemrest/september>. -// -// 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( warnings, nonstandard_style, diff --git a/src/response.rs b/src/response.rs index 3521e99..329d7b2 100644 --- a/src/response.rs +++ b/src/response.rs @@ -1,20 +1,3 @@ -// This file is part of September <https://github.com/gemrest/september>. -// -// 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 { crate::url::from_path as url_from_path, actix_web::{Error, HttpResponse}, @@ -1,20 +1,3 @@ -// This file is part of September <https://github.com/gemrest/september>. -// -// 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 url::Url; pub fn from_path( |