From f618525479bdf7e14df15e9e7f34bf6229f2bd4f Mon Sep 17 00:00:00 2001 From: FiveMovesAhead Date: Thu, 16 May 2024 12:42:17 +0800 Subject: [PATCH] Remove dependency on unmaintained crate. --- tig-wasm/Cargo.toml | 1 - tig-wasm/src/entry_point_template.rs | 3 --- 2 files changed, 4 deletions(-) diff --git a/tig-wasm/Cargo.toml b/tig-wasm/Cargo.toml index 3b4c21f3..58c2dc35 100644 --- a/tig-wasm/Cargo.toml +++ b/tig-wasm/Cargo.toml @@ -14,7 +14,6 @@ crate-type = ["cdylib", "staticlib"] tig-algorithms = { path = "../tig-algorithms" } tig-challenges = { path = "../tig-challenges" } tig-utils = { path = "../tig-utils" } -wee_alloc = { version = "0.4.5" } [features] entry-point = [] diff --git a/tig-wasm/src/entry_point_template.rs b/tig-wasm/src/entry_point_template.rs index 5786935b..0cdd95e3 100644 --- a/tig-wasm/src/entry_point_template.rs +++ b/tig-wasm/src/entry_point_template.rs @@ -1,6 +1,3 @@ -#[global_allocator] -static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; - use tig_algorithms::{CHALLENGE}::{ALGORITHM}; use tig_challenges::{*, {CHALLENGE}::*}; use tig_utils::compress_obj;