From 292befdb36b97e48c5112dbdd6565dd6316969ed Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Sat, 11 Oct 2025 15:10:17 +0200 Subject: [PATCH] radicle: Add `tempfile` to dev-dependencies In commit 2149770a4b93ac731a025838e44e4c45edb3c3ff the dependency `tempfile` was made optional, and added to be enabled by the feature flag `test`. However, the *tests of this crate itself* need the dependency *unconditionally* as they want to create temporary directories. This was not noticed earlier, since the error does not surface when the whole workspace is tested (`cargo test --workspace`), but only when the crate itself is tested (`cargo test --package=radicle`), because when testing the workspace, dependents of `radicle` will enable the `test` feature flag. --- crates/radicle/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/radicle/Cargo.toml b/crates/radicle/Cargo.toml index 266a4178..0eb90480 100644 --- a/crates/radicle/Cargo.toml +++ b/crates/radicle/Cargo.toml @@ -60,3 +60,4 @@ qcheck = { workspace = true } qcheck-macros = { workspace = true } radicle-cob = { workspace = true, features = ["stable-commit-ids"] } radicle-crypto = { workspace = true, features = ["test"] } +tempfile = { workspace = true }