From 3f446b3259ff4709be6bcf9cb67e1e4d21938144 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 8 Sep 2024 01:33:18 -0700 Subject: chore(docker): shrink image --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index c2dccb0..0153b04 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,6 +20,8 @@ mod xml; #[macro_use] extern crate log; +use std::alloc::System; + use { // dotenv::var, pickledb::PickleDb, @@ -27,6 +29,9 @@ use { tokio::time::Instant, }; +#[global_allocator] +static A: System = System; + const ERROR_HANDLER_RESPONSE: &str = "The requested resource could not be found at this time. You can try \ refreshing the page, if that doesn't change anything; contact Fuwn! \ -- cgit v1.2.3