From 96ff8c31ab8265288a2b8ceb3620173c25799b1e Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Mon, 6 May 2024 14:23:36 +0200 Subject: [PATCH] deps: Disable unused/unnecessary regex features in libcontainer (#2781) To reduce binary size and dependency bloat in projects using libcontainer. Signed-off-by: Jakub Jirutka --- crates/libcontainer/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/libcontainer/Cargo.toml b/crates/libcontainer/Cargo.toml index 9b71ee4e..8e9f7b06 100644 --- a/crates/libcontainer/Cargo.toml +++ b/crates/libcontainer/Cargo.toml @@ -49,7 +49,7 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" rust-criu = "0.4.0" protobuf = "= 3.2.0" # https://github.com/checkpoint-restore/rust-criu/issues/19 -regex = "1.10.4" +regex = { version = "1.10.4", default-features = false, features = ["std", "unicode-perl"] } thiserror = "1.0.59" tracing = { version = "0.1.40", features = ["attributes"] } safe-path = "0.1.0"