From 4a34e311404c0debd38e1e6aaa4bc69c89889e40 Mon Sep 17 00:00:00 2001 From: Bhupesh-V Date: Fri, 15 Mar 2024 12:44:32 +0530 Subject: [PATCH] add support for rust & typescript resources --- main.py | 2 ++ resourcer/resourcer.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/main.py b/main.py index 1e7312d..721ce17 100644 --- a/main.py +++ b/main.py @@ -63,6 +63,8 @@ class FilterTypeForm(FlaskForm): "Android": "android", "Surprise Me!": "miscellaneous", "DevOps": "devops", + "Rust": "rust", + "TypeScript": "typescript", } diff --git a/resourcer/resourcer.py b/resourcer/resourcer.py index 40d7005..fa4a02b 100644 --- a/resourcer/resourcer.py +++ b/resourcer/resourcer.py @@ -41,6 +41,8 @@ class Types(Enum): "computer-graphics": "computer-graphics", "computer-science": "computer-science", "devops": "devops", + "rust": "languages/rust", + "typescript": "languages/typescript", } requests_cache.install_cache("resource_cache", backend="memory", expire_after=180)