aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-06-15 02:33:48 -0700
committerFuwn <[email protected]>2022-06-15 02:33:48 -0700
commit131f4380156ef05076b98e8b08d67143e3414466 (patch)
treeac875fcb0f7c935ee54821bb5cbc4e3e441d41cf /src/modules
parentfeat(contact): move contact to json (diff)
downloadlocus-131f4380156ef05076b98e8b08d67143e3414466.tar.xz
locus-131f4380156ef05076b98e8b08d67143e3414466.zip
refactor(modules): new style mod
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/mod.rs36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/modules/mod.rs b/src/modules/mod.rs
deleted file mode 100644
index 5515a85..0000000
--- a/src/modules/mod.rs
+++ /dev/null
@@ -1,36 +0,0 @@
-// This file is part of Locus <https://github.com/gemrest/locus>.
-// 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
-
-mod blog;
-mod contact;
-mod random;
-mod remarks;
-mod robots;
-mod router;
-pub mod search;
-mod sitemap;
-mod skills;
-mod r#static;
-mod uptime;
-
-pub fn module(router: &mut windmark::Router) {
- crate::statelesses!(
- router, uptime, sitemap, search, remarks, blog, random, r#static, router,
- robots, skills, contact,
- );
-}