From 11e97d3dcb633f7cda621c53e733a4d50249542c Mon Sep 17 00:00:00 2001 From: Sebastian Kuzminsky Date: Fri, 17 Jan 2025 20:45:10 -0700 Subject: [PATCH] Recipe: make Action an enum with `process` and `print` --- tools/src/recipe.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/src/recipe.rs b/tools/src/recipe.rs index bd7ffd7..68c7c6b 100644 --- a/tools/src/recipe.rs +++ b/tools/src/recipe.rs @@ -46,8 +46,9 @@ pub struct Dependencies { } #[derive(Debug, serde::Deserialize)] -pub struct Action { - process: String, +pub enum Action { + process(String), + print, } #[derive(Debug, serde::Deserialize)]