aports/testing/rustic/fix-abscissa_core-features.patch
Jakub Jirutka 5a4770ac44 testing/rustic: omit abscissa_core testing feature
To avoid dependency and feature pollution (namely regex features).

Patch backported from https://github.com/rustic-rs/rustic/pull/976
2024-01-07 20:20:07 +00:00

36 lines
1.1 KiB
Diff

Patch-Source: https://github.com/rustic-rs/rustic/pull/976
--
From b7c61c6e1bc4fec18ff5977169c014b6098a17d9 Mon Sep 17 00:00:00 2001
From: Jakub Jirutka <jakub@jirutka.cz>
Date: Sun, 31 Dec 2023 03:37:37 +0100
Subject: [PATCH] fix(deps): enable abscissa_core testing feature only for dev (#976)
---
Cargo.toml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index b0260fc..24486f1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -89,6 +89,7 @@ rhai = { workspace = true }
simplelog = { workspace = true }
[dev-dependencies]
+abscissa_core = { workspace = true, features = ["testing"] }
aho-corasick = { workspace = true }
dircmp = { workspace = true }
once_cell = { workspace = true }
@@ -101,7 +102,7 @@ toml = { workspace = true }
libc = "0.2.150"
[workspace.dependencies]
rustic_core = { version = "0.1.2", features = ["cli"] }
-abscissa_core = { version = "0.7.0", default-features = false, features = ["application", "testing"] }
+abscissa_core = { version = "0.7.0", default-features = false, features = ["application"] }
# logging
log = "0.4"
--
2.43.0