diff options
| author | Fuwn <[email protected]> | 2022-03-24 00:06:59 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-24 00:06:59 +0000 |
| commit | 64d31d0c0226141db72b5907ee21792dd3e92dfa (patch) | |
| tree | d06942db46df80474b77de6bfc993cd99d6af1bf /src/lib.rs | |
| parent | feat(api): /me route (diff) | |
| download | api-worker-64d31d0c0226141db72b5907ee21792dd3e92dfa.tar.xz api-worker-64d31d0c0226141db72b5907ee21792dd3e92dfa.zip | |
feat: cache github api
This commit allows The Senpy Club API to cache GitHub's API response,
refreshing the cache every fifty accesses.
This commit also gets rid of a few dependencies which were replaced by
their standard library counterparts.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -16,6 +16,7 @@ // Copyright (C) 2022-2022 Fuwn <[email protected]> // SPDX-License-Identifier: GPL-3.0-only +#![feature(once_cell)] #![deny( warnings, nonstandard_style, |