feat: add feature for mimalloc

This commit is contained in:
2025-03-10 20:27:20 -04:00
parent c2d1b415aa
commit 6600edabe6
3 changed files with 25 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ http-body-util = "0"
hyper = { version = "1", features = ["server"] }
hyper-util = "0"
log = { version = "0" }
mimalloc = { version = "0", optional = true }
mlua = { version = "0", features = ["async", "luajit", "send"] }
ncr = { version = "0", features = ["cfb8", "ecb", "gcm"] }
parking_lot = "0"
@@ -42,3 +43,4 @@ zip = "2"
[features]
console-subscriber = ["dep:console-subscriber"]
mimalloc = ["dep:mimalloc"]