From c57d43f2f5e8b3b0320364062a48b6012501256a Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Fri, 30 May 2025 09:25:17 +0200 Subject: [PATCH] radicle: schemars test should be behind feature flag A `#[cfg(feature = "schemars")]` was missed in the `profile/config.rs` module since it was part of the test module. --- radicle/src/profile/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/radicle/src/profile/config.rs b/radicle/src/profile/config.rs index 3b1ca84c..2bd439d1 100644 --- a/radicle/src/profile/config.rs +++ b/radicle/src/profile/config.rs @@ -365,6 +365,7 @@ impl From for ConfigPath { #[cfg(test)] #[allow(clippy::unwrap_used)] mod test { + #[cfg(feature = "schemars")] #[test] fn schema() { use super::Config;