From b4b9515fd969cb6445c8a93b7eb1ec8ebe529949 Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Thu, 20 Aug 2020 21:41:45 +0200 Subject: rif: adding Recipes and Metadata --- rif/src/lib.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'rif/src/lib.rs') diff --git a/rif/src/lib.rs b/rif/src/lib.rs index 0e18044..047dc24 100644 --- a/rif/src/lib.rs +++ b/rif/src/lib.rs @@ -3,7 +3,7 @@ //! A structured format for expression recipes, and work steps with //! variable actor counts. Ingredients and work steps are typed via //! an internally provided schema. The backing file-format for -//! serialisation is `g3f`. +//! serialisation is [`g3f`](https://github.com/spacekookie/g3f). //! //! Each recipe is separated into threads, with a set of inputs, work //! steps and an output. A thread is a set of work steps that can be @@ -17,8 +17,13 @@ //! ```rust //! let mut r = Recipe::new(); //! let mut t = r.add_thread().name("a"); -//! +//! //! ``` - +mod recipe; mod schema; +mod thread; + +pub use recipe::{Metadata, Recipe}; +pub use schema::{Ingredient, Schema, Workstep}; +pub use thread::Thread; -- cgit v1.2.3