Crate ingredient[][src]

Modules

Structs

Holds a unit and value pair for an ingredient.

Holds a name, list of Amount, and optional modifier string

Functions

Parses one or two amounts, e.g. 12 grams or 120 grams / 1 cup. Used by parse_ingredient.

Parse an ingredient line item, such as 120 grams / 1 cup whole wheat flour, sifted lightly.