5 releases

0.0.5 Mar 20, 2021
0.0.4 Feb 18, 2021
0.0.3 Feb 12, 2021
0.0.2 Feb 10, 2021
0.0.1 Feb 8, 2021

#2 in #step-flow


Used in 7 crates (4 directly)

Apache-2.0

49KB
1K SLoC

Data layer for StepFlow

StateData is the main struct used to store data.

Examples

// create the var/value combination
let email_var = EmailVar::new(VarId::new(0));
let email_val = EmailValue::try_new("test@stepflow.dev").unwrap();

// insert it in a StateData
let mut statedata = StateData::new();
statedata.insert(&email_var.boxed(), email_val.boxed());

Dependencies

~165KB