lib

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

commit 5ae3b577de1da4476d0865c480c404baf0127f53
parent 9643f7cc35bc3b9f3daf85d71517a4df570d0bef
Author: triesap <tyson@radroots.org>
Date:   Fri, 26 Jun 2026 07:16:02 +0000

workflow: serialize trade workflow state

- derive serde for the shared trade workflow state behind the serde feature
- keep RHI persisted order state on the shared workflow enum
- avoid a duplicate worker-local status DTO for MVP trade finality
- validate with cargo test -p radroots_trade --all-features workflow

Diffstat:
Mcrates/trade/src/workflow.rs | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/crates/trade/src/workflow.rs b/crates/trade/src/workflow.rs @@ -19,6 +19,7 @@ use crate::validation_receipt::{ }; #[derive(Clone, Debug, PartialEq, Eq)] +#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] pub enum RadrootsTradeWorkflowState { Missing, Requested,