diff options
| author | Fuwn <[email protected]> | 2022-03-19 00:58:32 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-19 00:58:32 +0000 |
| commit | 8b50a9ce6ece2f305e2d00c93ecb033a8a3a47c7 (patch) | |
| tree | 6f841eb2b9e79fb7fb380de15a1986efcfd5b4e2 /src/lib.rs | |
| parent | Merge branch 'main' of https://github.com/senpy-club/api-worker (diff) | |
| download | api-worker-8b50a9ce6ece2f305e2d00c93ecb033a8a3a47c7.tar.xz api-worker-8b50a9ce6ece2f305e2d00c93ecb033a8a3a47c7.zip | |
feat(lib): smaller allocator
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -27,6 +27,9 @@ #![deny(clippy::all, clippy::pedantic)] // clippy::nursery #![recursion_limit = "128"] +#[global_allocator] +static ALLOC: wee_alloc::WeeAlloc<'_> = wee_alloc::WeeAlloc::INIT; + mod constants; mod routes; mod structures; |