commit 63a69222fd57e29ab967e8d52793f741ed47bc49
parent 063a6032dce7cfd7981c42162e275b9902acb92b
Author: Antoine A <>
Date: Tue, 27 Oct 2026 12:53:29 +0100
common: drop mimmaloc in taler-common
Diffstat:
3 files changed, 8 insertions(+), 32 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
@@ -599,9 +599,9 @@ dependencies = [
[[package]]
name = "ctutils"
-version = "0.4.5"
+version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "38d28fb6aa7dd680b3ffd1a3e64e115c177bdba63c0ae7f9cd48129ff05c4fa0"
+checksum = "fe3e9d21d39e6f39ff46e03d5b621424f88ee23d8a1672c6bfc9ccc7f2da4f6a"
dependencies = [
"cmov",
]
@@ -1533,15 +1533,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
[[package]]
-name = "libmimalloc-sys"
-version = "0.1.49"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a45a52f43e1c16f667ccfe4dd8c85b7f7c204fd5e3bf46c5b0db9a5c3c0b8e9"
-dependencies = [
- "cc",
-]
-
-[[package]]
name = "libredox"
version = "0.1.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1627,15 +1618,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
[[package]]
-name = "mimalloc"
-version = "0.1.52"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d4139bb28d14ad1facf21d5eb8825051b326e172d216b39f6d31df53cc97862"
-dependencies = [
- "libmimalloc-sys",
-]
-
-[[package]]
name = "mime"
version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1709,9 +1691,9 @@ checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
[[package]]
name = "openssl-probe"
-version = "0.2.1"
+version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
+checksum = "7e036b411754132fd6b74e94b74e9a13c5cf606fa93d1885c35860d3060820b1"
[[package]]
name = "owo-colors"
@@ -1985,9 +1967,9 @@ dependencies = [
[[package]]
name = "rustix"
-version = "1.1.5"
+version = "1.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d"
+checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa"
dependencies = [
"bitflags 2.13.2",
"errno",
@@ -2327,9 +2309,9 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
[[package]]
name = "smallvec"
-version = "1.16.3"
+version = "1.16.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5b3dc8af474f516a851ff4bd12db780f948b9250ad37211e4eec0bccea54e01b"
+checksum = "d0d5d4b1981b8bbbb7aed204cae5726d683d5d6ac7e74ec54122ea28f315e7c8"
dependencies = [
"serde",
]
@@ -2719,7 +2701,6 @@ dependencies = [
"glob",
"indexmap",
"jiff",
- "mimalloc",
"rand",
"regex",
"serde",
diff --git a/common/taler-common/Cargo.toml b/common/taler-common/Cargo.toml
@@ -12,7 +12,6 @@ repository.workspace = true
doctest = false
[dependencies]
-mimalloc = "0.1"
glob = "0.3"
indexmap = "2.7"
base64 = "0.23"
diff --git a/common/taler-common/src/lib.rs b/common/taler-common/src/lib.rs
@@ -17,7 +17,6 @@
use std::{path::PathBuf, time::Duration};
use config::{Config, parser::ConfigSource};
-use mimalloc::MiMalloc;
use tracing::error;
use tracing_subscriber::util::SubscriberInitExt;
@@ -36,9 +35,6 @@ pub mod log;
pub mod signature;
pub mod types;
-#[global_allocator]
-static GLOBAL: MiMalloc = MiMalloc;
-
#[derive(clap::Parser, Debug, Clone)]
pub struct CommonArgs {
/// Specifies the configuration file