lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

commit 4165cec419224c5b4d5726b5c62fa051dfe1d4b8
parent 6bbf61ec768f5afe05b8e84bea6f2e10e43bd385
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:
Mcrates/events-codec/tests/codec_error_job.rs | 2++
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]