aboutsummaryrefslogtreecommitdiff
path: root/src/modules/cryptocurrency.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/cryptocurrency.rs')
-rw-r--r--src/modules/cryptocurrency.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/modules/cryptocurrency.rs b/src/modules/cryptocurrency.rs
index e6ea9bb..31e7a12 100644
--- a/src/modules/cryptocurrency.rs
+++ b/src/modules/cryptocurrency.rs
@@ -1,6 +1,18 @@
use crate::{response::success, route::track_mount};
+// static REFERRALS: LazyLock<Vec<Referral>> = LazyLock::new(|| {
+// serde_json::from_str(include_str!(
+// "../../content/json/cryptocurrency_referrals.json"
+// ))
+// .unwrap()
+// });
+// #[derive(Deserialize)]
+// struct Referral {
+// name: String,
+// description: String,
+// url: String,
+// }
pub fn module(router: &mut windmark::router::Router) {
// track_mount(