From 3847d4061d1f590956a8276b95881a2c944fd973 Mon Sep 17 00:00:00 2001 From: Cropi Date: Thu, 22 Jan 2026 09:12:02 +0100 Subject: [PATCH] guard RVPS import in config tests The reference_value_provider_service import in test code is only needed when the coco-as-builtin feature is enabled. Since we've removed support for coco-as-builtin to minimize dependencies, gate this import behind the feature flag. --- kbs/src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/kbs/src/config.rs b/kbs/src/config.rs index 2de2a53..4b7b8cd 100644 --- a/kbs/src/config.rs +++ b/kbs/src/config.rs @@ -136,6 +136,7 @@ mod tests { token::{simple, AttestationTokenConfig, COCO_AS_ISSUER_NAME, DEFAULT_TOKEN_DURATION}, }; + #[cfg(feature = "coco-as-builtin")] use reference_value_provider_service::storage::{local_fs, ReferenceValueStorageConfig}; use rstest::rstest; -- 2.52.0