diff options
Diffstat (limited to 'src/modules/stocks.rs')
| -rw-r--r-- | src/modules/stocks.rs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/modules/stocks.rs b/src/modules/stocks.rs index 0de8a58..8a4becf 100644 --- a/src/modules/stocks.rs +++ b/src/modules/stocks.rs @@ -3,7 +3,19 @@ use { 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 { |