From 620c41b6a10c201837e43d9c71eedf92acbe4294 Mon Sep 17 00:00:00 2001 From: Earle Lowe Date: Thu, 13 Feb 2025 12:02:28 -0800 Subject: [PATCH] add lol_alloc to toml --- wasm/Cargo.lock | 35 +++++++++++++++++++++++++++++++++++ wasm/Cargo.toml | 1 + 2 files changed, 36 insertions(+) diff --git a/wasm/Cargo.lock b/wasm/Cargo.lock index ac47a8d4..9594c1f2 100644 --- a/wasm/Cargo.lock +++ b/wasm/Cargo.lock @@ -228,6 +228,7 @@ dependencies = [ "clvm_tools_rs", "clvmr", "js-sys", + "lol_alloc", "num-bigint", "num-traits", "wasm-bindgen", @@ -611,12 +612,31 @@ version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" +[[package]] +name = "lock_api" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +dependencies = [ + "autocfg", + "scopeguard", +] + [[package]] name = "log" version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b06a4cde4c0f271a446782e3eff8de789548ce57dbc8eca9292c27f4a42004b4" +[[package]] +name = "lol_alloc" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "83e5106554cabc97552dcadf54f57560ae6af3276652f82ca2be06120dc4c5dc" +dependencies = [ + "spin", +] + [[package]] name = "lru" version = "0.12.5" @@ -940,6 +960,12 @@ dependencies = [ "winapi-util", ] +[[package]] +name = "scopeguard" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" + [[package]] name = "sec1" version = "0.7.3" @@ -1029,6 +1055,15 @@ dependencies = [ "rand_core", ] +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" +dependencies = [ + "lock_api", +] + [[package]] name = "spki" version = "0.7.2" diff --git a/wasm/Cargo.toml b/wasm/Cargo.toml index 489e5a88..692ce234 100644 --- a/wasm/Cargo.toml +++ b/wasm/Cargo.toml @@ -24,3 +24,4 @@ wasm-bindgen-test = "=0.3.50" js-sys = "0.3.60" num-bigint = "0.4.0" num-traits = "0.2.15" +lol_alloc = "0.4.1"