commit 78af27e8f6d62c70984832acb692837e6897e690
parent ae0a8eb7a477e9f11c630ee25ebd2bdd2a1078ae
Author: triesap <tyson@radroots.org>
Date: Sat, 21 Feb 2026 22:07:26 +0000
tests: gate serde-only imports in codec error coverage test
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/crates/events-codec/tests/codec_error_job.rs b/crates/events-codec/tests/codec_error_job.rs
@@ -5,7 +5,9 @@ use radroots_events_codec::job::encode::{
assert_no_inputs_when_encrypted, push_provider_tag, push_relay_tag, push_status_tag,
JobEncodeError,
};
+#[cfg(feature = "serde_json")]
use serde::ser::{Error as _, Serializer};
+#[cfg(feature = "serde_json")]
use serde::Serialize;
#[test]