blob: 21b7912cd2cfcf2d1e02ea0421b94d188229b648 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
use crate::{Ingredient, Schema, Thread, Workstep};
use std::collections::BTreeSet;
/// A recipe with instructions to execute
pub struct Recipe<I, W>
where
I: Ingredient,
W: Workstep,
{
schema: Schema<I, W>,
metadata: Metadata,
threads: BTreeSet<Thread>,
}
pub struct Metadata {
pub name: String,
pub version: String,
}
|