Crate cook_with_rust_parser

Source
Expand description

This is a parser crate for the CookLang. The main feature is parsing a String into a struct that implements serde and can be easily used from there.

The implementation is nearly fully complete. Only image tags are missing. They are just ignored by now.

Structs§

Ingredient
IngredientSpecifier
IngredientSpecifier
Metadata
The metadata from the recipe is described in this metadata struct.
Recipe
Includes the raw source, metadata and instructions.
Timer
A Timer.

Enums§

Amount
Specifies the amount of a Ingredient.
Rule

Functions§

parse
Parse the input into a Recipe.