add some more units to the recipe parser

This commit is contained in:
Sebastian Kuzminsky 2025-02-08 20:43:22 -07:00
parent de2f803fc9
commit 569c88b321

View file

@ -1,8 +1,10 @@
#[derive(Clone, Copy, Debug, PartialEq, serde::Deserialize)] #[derive(Clone, Copy, Debug, PartialEq, serde::Deserialize)]
pub enum Unit { pub enum Unit {
USDollar, Foot,
Meter,
Gram, Gram,
Liter,
Meter,
USDollar,
} }
/// `Quantity` measures the amount of a resource (Input or Output). /// `Quantity` measures the amount of a resource (Input or Output).