aboutsummaryrefslogtreecommitdiff
path: root/src/modules/stocks.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-06-17 06:44:09 -0700
committerFuwn <[email protected]>2024-06-17 06:44:09 -0700
commit8609e7ed2cedf28aa655e5b3f15f130558dd8d4c (patch)
tree90c9cfcf47bc2642db292bad6348e653c037b1e4 /src/modules/stocks.rs
parentfeat(blogs): remove news (diff)
downloadlocus-8609e7ed2cedf28aa655e5b3f15f130558dd8d4c.tar.xz
locus-8609e7ed2cedf28aa655e5b3f15f130558dd8d4c.zip
refactor: remove file header
Diffstat (limited to 'src/modules/stocks.rs')
-rw-r--r--src/modules/stocks.rs32
1 files changed, 1 insertions, 31 deletions
diff --git a/src/modules/stocks.rs b/src/modules/stocks.rs
index 59a482a..0de8a58 100644
--- a/src/modules/stocks.rs
+++ b/src/modules/stocks.rs
@@ -1,39 +1,9 @@
-// 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
-
use {
crate::{response::success, route::track_mount},
serde::Deserialize,
};
-// static REFERRALS: LazyLock<Vec<Referral>> = LazyLock::new(|| {
-// serde_json::from_str(include_str!(
-// "../../content/json/stock_market_referrals.json"
-// ))
-// .unwrap()
-// });
-
-// #[derive(Deserialize)]
-// struct Referral {
-// name: String,
-// description: String,
-// url: String,
-// }
+
#[derive(Deserialize, Debug)]
struct Quote {